add core mod
This commit is contained in:
parent
17c76064b6
commit
88a9ce1442
2 changed files with 22 additions and 10 deletions
|
|
@ -1,18 +1,30 @@
|
|||
{
|
||||
self,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
mods = with self.nixosModules; [
|
||||
user
|
||||
packages
|
||||
agenix
|
||||
boot
|
||||
core
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
in
|
||||
{
|
||||
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = with self.nixosModules; [
|
||||
user
|
||||
packages
|
||||
agenix
|
||||
boot
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
config.dualBoot = true;
|
||||
modules =
|
||||
with self.nixosModules;
|
||||
[
|
||||
{
|
||||
config.dualBoot = true;
|
||||
}
|
||||
]
|
||||
++ mods;
|
||||
};
|
||||
flake.nixosConfigurations.seele = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = mods;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue