tweak: hades host config
This commit is contained in:
parent
19cdb75fb4
commit
addc1671cb
4 changed files with 98 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
# hardware module declaration
|
||||
flake.nixosModules.hadesHardware =
|
||||
|
||||
|
|
@ -36,8 +37,13 @@
|
|||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
||||
# luks device mapping
|
||||
boot.initrd.luks.devices."luks-35440a88-293e-455b-a018-ee1086b07321".device =
|
||||
"/dev/disk/by-uuid/35440a88-293e-455b-a018-ee1086b07321"
|
||||
boot.initrd.luks.devices."luks-35440a88-293e-455b-a018-ee1086b07321" = {
|
||||
device = "/dev/disk/by-uuid/35440a88-293e-455b-a018-ee1086b07321"
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-55f7d546-fac9-4ea0-a21e-4c50ecc0d67d" = {
|
||||
device = "/dev/disk/by-uuid/55f7d546-fac9-4ea0-a21e-4c50ecc0d67d"
|
||||
};
|
||||
|
||||
# root partition
|
||||
fileSystems."/" = {
|
||||
|
|
@ -66,4 +72,5 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue