From 39d79e0510dc5867c38f882d42264e0070bd1df6 Mon Sep 17 00:00:00 2001
From: Aaron  Honeycutt <aaronhoneycutt@protonmail.com>
Date: Sat, 7 May 2022 21:02:21 +0000
Subject: [PATCH] Update config-plasma.nix

---
 config-plasma.nix | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/config-plasma.nix b/config-plasma.nix
index bbd6398..53ecd5f 100644
--- a/config-plasma.nix
+++ b/config-plasma.nix
@@ -13,6 +13,19 @@
        systemd-boot.enable = true;
     };
 
+    {
+       fileSystems."/" =  
+          { device = "/dev/disk/by-label/root" ;
+            fsType = "btrfs";
+            options = [ "subvol=nixos" "compress=zstd" "autodefrag" "noatime" ]; 
+          };
+
+        boot.initrd.luks.devices."crypt-root" = { 
+           device = "/dev/disk/by-label/root" ;
+           preLVM = true;
+        };
+    }
+
     # Name your host machine
     networking.hostName = "NixOS-VM";