refactor: rename modules directory to nix
This commit is contained in:
parent
5501c39e31
commit
e884735f25
13 changed files with 1 additions and 1 deletions
9
nix/configurations/nixos.nix
Normal file
9
nix/configurations/nixos.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
inherit (cfg.lib) extractConfigurations;
|
||||
cfg = config.flake;
|
||||
hosts = cfg.hostSpec.hosts or { };
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations = extractConfigurations "nixos/" hosts;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue