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