flake.nixosConfigurations: allow multiple modules on helper

secrix-issue25
Felix Stupp 3 months ago
parent 750984eb5e
commit ceb81dc955
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -32,23 +32,28 @@
nixosConfigurations = nixosConfigurations =
let let
nixosSystem = { config, system }: inputs.nixpkgs.lib.nixosSystem { nixosSystem = { modules, system }: inputs.nixpkgs.lib.nixosSystem {
modules = [ modules = [
outputs.nixosModules.withDepends outputs.nixosModules.withDepends
config ] ++ modules;
];
inherit system; inherit system;
}; };
in in
{ {
"x13yz" = nixosSystem { "x13yz" = nixosSystem {
config = { modules = [
hardware.cpu.type = "intel"; {
hardware.graphics.intel.enable = true; # hardware
system.stateVersion = "24.05"; hardware.cpu.type = "intel";
x-banananetwork.frontend.enable = true; hardware.graphics.intel.enable = true;
}; x-banananetwork.frontend.enable = true;
}
{
# as currently installed
system.stateVersion = "24.05";
}
];
system = "x86_64-linux"; system = "x86_64-linux";
}; };

Loading…
Cancel
Save