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 =
let
nixosSystem = { config, system }: inputs.nixpkgs.lib.nixosSystem {
nixosSystem = { modules, system }: inputs.nixpkgs.lib.nixosSystem {
modules = [
outputs.nixosModules.withDepends
config
];
] ++ modules;
inherit system;
};
in
{
"x13yz" = nixosSystem {
config = {
hardware.cpu.type = "intel";
hardware.graphics.intel.enable = true;
system.stateVersion = "24.05";
x-banananetwork.frontend.enable = true;
};
modules = [
{
# hardware
hardware.cpu.type = "intel";
hardware.graphics.intel.enable = true;
x-banananetwork.frontend.enable = true;
}
{
# as currently installed
system.stateVersion = "24.05";
}
];
system = "x86_64-linux";
};

Loading…
Cancel
Save