change nixos -> nix
This commit is contained in:
parent
e80a3d65ac
commit
79669b27f8
50 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -33,14 +33,14 @@
|
||||||
let
|
let
|
||||||
hostSystem = "x86_64-linux";
|
hostSystem = "x86_64-linux";
|
||||||
hostPkgs = import nixpkgs { system = hostSystem; };
|
hostPkgs = import nixpkgs { system = hostSystem; };
|
||||||
machines = (hostPkgs.lib.modules.evalModules { modules = [ (import ./nixos/machines) ]; }).config.machines;
|
machines = (hostPkgs.lib.modules.evalModules { modules = [ (import ./nix/machines) ]; }).config.machines;
|
||||||
physicalMachines = hostPkgs.lib.filterAttrs (n: v: v.isPhysical) machines;
|
physicalMachines = hostPkgs.lib.filterAttrs (n: v: v.isPhysical) machines;
|
||||||
in
|
in
|
||||||
flake-utils.lib.meld (inputs // { inherit hostPkgs machines physicalMachines; }) [
|
flake-utils.lib.meld (inputs // { inherit hostPkgs machines physicalMachines; }) [
|
||||||
./nixos/flake/bootstrap
|
./nix/flake/bootstrap
|
||||||
./nixos/flake/checks.nix
|
./nix/flake/checks.nix
|
||||||
./nixos/flake/deploy.nix
|
./nix/flake/deploy.nix
|
||||||
./nixos/flake/nixos.nix
|
./nix/flake/nixos.nix
|
||||||
] // (flake-utils.lib.eachDefaultSystem (system: {
|
] // (flake-utils.lib.eachDefaultSystem (system: {
|
||||||
formatter = nixpkgs.legacyPackages.${system}.nixfmt;
|
formatter = nixpkgs.legacyPackages.${system}.nixfmt;
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue