summaryrefslogtreecommitdiff
path: root/neko
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-03-27 07:35:43 +0100
committerChristoph Cullmann <cullmann@kde.org>2024-03-27 07:35:43 +0100
commited57db359b5fd88da8e11e6698dae143787b1538 (patch)
tree7648adcd5a24b34f8c26633fb1d1642fa1c793e4 /neko
parent6d9d01fc6cbbcb16d29f8159c28d3b16407e5c6b (diff)
fix hostname and add all filesystems
Diffstat (limited to 'neko')
-rw-r--r--neko/hardware-configuration.nix35
1 files changed, 19 insertions, 16 deletions
diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix
index 161f49f..9fb0277 100644
--- a/neko/hardware-configuration.nix
+++ b/neko/hardware-configuration.nix
@@ -14,7 +14,10 @@
boot.initrd.luks.devices."crypt-system".device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part2";
# 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";
+
+ # projects
+ boot.initrd.luks.devices."crypt-projects".device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENF0R846614L";
fileSystems."/" =
{ device = "/dev/mapper/crypt-system";
@@ -60,28 +63,28 @@
};
fileSystems."/etc/nixos" =
- { device = "/data/nixos/mini";
+ { device = "/data/nixos/neko";
fsType = "none";
neededForBoot = true;
options = [ "bind" ];
depends = [ "/data" ];
};
-# fileSystems."/home/cullmann/vms" =
-# { device = "/dev/mapper/crypt-vms";
-# fsType = "btrfs";
-# neededForBoot = true;
-# options = [ "noatime" "nodiratime" ];
-# depends = [ "/home" ];
-# };
+ fileSystems."/home/cullmann/vms" =
+ { device = "/dev/mapper/crypt-vms";
+ fsType = "btrfs";
+ neededForBoot = true;
+ options = [ "noatime" "nodiratime" ];
+ depends = [ "/home" ];
+ };
-# fileSystems."/home/cullmann/projects" =
-# { device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_2TB_S69ENF0R846614L";
-# fsType = "bcachefs";
-# neededForBoot = true;
-# options = [ "noatime" "nodiratime" ];
-# depends = [ "/home" ];
-# };
+ fileSystems."/home/cullmann/projects" =
+ { device = "/dev/mapper/crypt-projects";
+ fsType = "btrfs";
+ neededForBoot = true;
+ options = [ "noatime" "nodiratime" ];
+ depends = [ "/home" ];
+ };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;