extract hardware config

This commit is contained in:
DashieTM 2024-08-24 18:05:37 +02:00
parent 252fcce589
commit effb6e6397
22 changed files with 31 additions and 1158 deletions

View file

@ -61,22 +61,12 @@
allowUnfree = true;
};
};
dashielib = import ./lib { inherit inputs pkgs; };
in {
nixosConfigurations =
(dashielib.build_systems [ "marmo" "overheating" "spaceship" ]) // {
server = inputs.stable.lib.nixosSystem {
specialArgs = {
inherit inputs;
pkgs = stable;
};
modules = [
inputs.sops-nix.nixosModules.sops
inputs.dashvim.nixosModules.dashvim
./hardware/server/configuration.nix
];
};
};
dashNixLib = import ./lib { inherit inputs pkgs; };
dashNixInputs = inputs;
stablePkgs = stable;
unstablePkgs = pkgs;
modules = ./modules;
};
nixConfig = {