seperate hw config and quirks
This commit is contained in:
parent
29a224e6bd
commit
47cd47b4f2
3 changed files with 38 additions and 32 deletions
|
|
@ -30,6 +30,7 @@ in
|
|||
[
|
||||
nvidia
|
||||
nerv
|
||||
nerv_quirks
|
||||
]
|
||||
++ mods;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
|
||||
{
|
||||
flake.nixosModules.nerv = { config, ... }: {
|
||||
config = {
|
||||
dualBoot = true;
|
||||
networking.hostName = "nerv";
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
|
|
@ -42,5 +39,5 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
8
modules/hosts/nerv/quirks.nix
Normal file
8
modules/hosts/nerv/quirks.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.nerv_quirks = { config, ... }: {
|
||||
config = {
|
||||
networking.hostName = "nerv";
|
||||
dualBoot = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue