about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/mmrnmhrm.nix25
1 files changed, 5 insertions, 20 deletions
diff --git a/machines/mmrnmhrm.nix b/machines/mmrnmhrm.nix
index 2e986f55..c4fb98ca 100644
--- a/machines/mmrnmhrm.nix
+++ b/machines/mmrnmhrm.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{config, pkgs, ...}:
 
 with pkgs.lib;
 
@@ -27,30 +27,15 @@ with pkgs.lib;
   in rec {
     kernelPackages = pkgs.linuxPackagesFor linuxAszlig kernelPackages;
 
-    initrd = {
-      luks.enable = true;
-      luks.devices = [
-        { name = "system_crypt";
-          device = "/dev/disk/by-uuid/91fbc437-b191-4c32-add4-6f96b2c953dd";
-          preLVM = true;
-        }
-      ];
-    };
-
-    loader.grub.devices = [
-      "/dev/disk/by-id/ata-WDC_WD10EAVS-00D7B1_WD-WCAU48931237"
-    ];
+    loader.grub.devices = singleton
+      "/dev/disk/by-id/ata-WDC_WD6401AALS-00L3B2_WD-WMASY3263730";
   };
 
   networking.hostName = "mmrnmhrm";
 
   fileSystems = {
-    "/boot" = {
-      label = "boot";
-      fsType = "ext2";
-    };
     "/" = {
-      device = "/dev/system/root";
+      label = "root";
       fsType = "btrfs";
       options = concatStringsSep "," [
         "autodefrag"
@@ -63,7 +48,7 @@ with pkgs.lib;
   };
 
   swapDevices = singleton {
-    device = "/dev/system/swap";
+    label = "swap";
   };
 
   services.xserver.videoDrivers = [ "nouveau" ];