From 56e114ba69399c63bde90cdaf40b567a8da5b39e Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 11 Jan 2024 07:27:20 +0100 Subject: add extra vms stuff back --- mini/hardware-configuration.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'mini') diff --git a/mini/hardware-configuration.nix b/mini/hardware-configuration.nix index ff8a847..ac5b0d2 100644 --- a/mini/hardware-configuration.nix +++ b/mini/hardware-configuration.nix @@ -40,28 +40,34 @@ fileSystems."/home" = { device = "/data/home"; fsType = "none"; + neededForBoot = true; options = [ "bind" ]; + depends = [ "/data" ]; }; fileSystems."/root" = { device = "/data/root"; fsType = "none"; + neededForBoot = true; options = [ "bind" ]; + depends = [ "/data" ]; }; fileSystems."/etc/nixos" = { device = "/data/nixos/mini"; fsType = "none"; + neededForBoot = true; options = [ "bind" ]; + depends = [ "/data" ]; }; -# fileSystems."/home/cullmann/vms" = -# { -# depends = [ "/home" ]; -# device = "/dev/mapper/crypt-vms"; -# fsType = "btrfs"; -# options = [ "noatime" "nodiratime" ]; -# }; + fileSystems."/home/cullmann/vms" = + { device = "/dev/disk/by-id/ata-CT2000MX500SSD1_2138E5D5061F"; + fsType = "bcachefs"; + neededForBoot = true; + options = [ "noatime" "nodiratime" ]; + depends = [ "/home" ]; + }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -- cgit v1.2.3