summaryrefslogtreecommitdiff
path: root/mini
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-01-11 07:27:20 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-01-11 07:27:20 +0100
commit56e114ba69399c63bde90cdaf40b567a8da5b39e (patch)
treea3445dbe7fe6f7c025c4ff1200f621761a6a4e2c /mini
parent33c4fe1bd5c5d735f10166660227af4549b856c6 (diff)
add extra vms stuff back
Diffstat (limited to 'mini')
-rw-r--r--mini/hardware-configuration.nix20
1 files changed, 13 insertions, 7 deletions
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;