tweak: hades host config

This commit is contained in:
serenity-F 2026-09-23 19:51:48 +10:00
parent 19cdb75fb4
commit addc1671cb
No known key found for this signature in database
4 changed files with 98 additions and 10 deletions

View file

@ -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;
};
}