add extra vms stuff back

This commit is contained in:
Christoph Cullmann 2024-01-11 07:27:20 +01:00
parent 33c4fe1bd5
commit 56e114ba69

View file

@ -40,28 +40,34 @@
fileSystems."/home" = fileSystems."/home" =
{ device = "/data/home"; { device = "/data/home";
fsType = "none"; fsType = "none";
neededForBoot = true;
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/data" ];
}; };
fileSystems."/root" = fileSystems."/root" =
{ device = "/data/root"; { device = "/data/root";
fsType = "none"; fsType = "none";
neededForBoot = true;
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/data" ];
}; };
fileSystems."/etc/nixos" = fileSystems."/etc/nixos" =
{ device = "/data/nixos/mini"; { device = "/data/nixos/mini";
fsType = "none"; fsType = "none";
neededForBoot = true;
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/data" ];
}; };
# fileSystems."/home/cullmann/vms" = fileSystems."/home/cullmann/vms" =
# { { device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F";
# depends = [ "/home" ]; fsType = "bcachefs";
# device = "/dev/mapper/crypt-vms"; neededForBoot = true;
# fsType = "btrfs"; options = [ "noatime" "nodiratime" ];
# options = [ "noatime" "nodiratime" ]; 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;