change nixos -> nix

This commit is contained in:
Pim Kunis 2024-03-02 14:03:27 +01:00
parent e80a3d65ac
commit 79669b27f8
50 changed files with 5 additions and 5 deletions

View file

@ -33,14 +33,14 @@
let
hostSystem = "x86_64-linux";
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;
in
flake-utils.lib.meld (inputs // { inherit hostPkgs machines physicalMachines; }) [
./nixos/flake/bootstrap
./nixos/flake/checks.nix
./nixos/flake/deploy.nix
./nixos/flake/nixos.nix
./nix/flake/bootstrap
./nix/flake/checks.nix
./nix/flake/deploy.nix
./nix/flake/nixos.nix
] // (flake-utils.lib.eachDefaultSystem (system: {
formatter = nixpkgs.legacyPackages.${system}.nixfmt;
}));