prepare for zfs

This commit is contained in:
Christoph Cullmann 2024-05-30 17:49:08 +02:00
parent 53c2aa972f
commit c524de48f0

View file

@ -13,16 +13,13 @@
# don't check for split locks, for KVM and Co. # don't check for split locks, for KVM and Co.
boot.kernelParams = [ "split_lock_detect=off" ]; boot.kernelParams = [ "split_lock_detect=off" ];
# system
boot.initrd.luks.devices."crypt-system".device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part2";
# efi partition # efi partition
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part1"; { device = "/dev/disk/by-id/nvme-CT4000P3PSSD8_2325E6E63746-part1";
fsType = "vfat"; fsType = "vfat";
neededForBoot = true; neededForBoot = true;
}; };
/*
# vms # vms
boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F"; boot.initrd.luks.devices."crypt-vms".device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F";
fileSystems."/home/cullmann/vms" = fileSystems."/home/cullmann/vms" =
@ -31,7 +28,7 @@
neededForBoot = true; neededForBoot = true;
options = [ "noatime" "nodiratime" ]; options = [ "noatime" "nodiratime" ];
depends = [ "/home" ]; depends = [ "/home" ];
}; };*/
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;