about summary refs log tree commit diff
path: root/nix/hardware-configuration.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-26 15:05:37 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-26 15:05:37 +0700
commit76cd542cf4bf8153fd191b2aa6ab5b7f77c20be5 (patch)
tree31dd8ee7fc4325f621c47a905b0d4eb2c77a77e6 /nix/hardware-configuration.nix
parenta6d13025b22c949342a6dc619e7d0cfe5ddb9dcc (diff)
downloaddotfiles-76cd542cf4bf8153fd191b2aa6ab5b7f77c20be5.tar.gz
Update in the name of Christ
Diffstat (limited to 'nix/hardware-configuration.nix')
-rw-r--r--nix/hardware-configuration.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix
index 5af5d36..f514c1e 100644
--- a/nix/hardware-configuration.nix
+++ b/nix/hardware-configuration.nix
@@ -15,6 +15,7 @@
       kernelModules = [ ];
     };
     kernelModules = [ "kvm-intel" ];
+    kernelPackages = pkgs.linuxPackages_latest;
     extraModulePackages = [ ];
   };
 
@@ -23,6 +24,7 @@
     "/" = {
       device = "none";
       fsType = "tmpfs";
+      options = [ "mode=755" ];
     };
 
     "/boot" = {
@@ -60,6 +62,12 @@
       options = [ "subvol=log" "compress-force=zstd" ];
       neededForBoot = true;
     };
+
+    "/home/sea/Videos/Movies" = {
+      device = "/dev/disk/by-uuid/75646045-86cf-4b97-90ad-7acd384f8b35";
+      fsType = "btrfs";
+      options = [ "subvol=movies" "compress-force=zstd" "noatime" ];
+    };
   };
 
   services.fstrim.enable = true;