about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 23:03:10 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 23:03:10 +0700
commita6d13025b22c949342a6dc619e7d0cfe5ddb9dcc (patch)
treef4ce863c1283ab20ca8f6252dab6981a6dc92f22
parent557705fc88fc0405d8f79bb15cbf0679e168cf6c (diff)
downloaddotfiles-a6d13025b22c949342a6dc619e7d0cfe5ddb9dcc.tar.gz
Force btrfs compression
-rw-r--r--nix/awesome.nix1
-rw-r--r--nix/configuration.nix8
-rw-r--r--nix/hardware-configuration.nix10
3 files changed, 11 insertions, 8 deletions
diff --git a/nix/awesome.nix b/nix/awesome.nix
index 51c0ccc..d1f4f2a 100644
--- a/nix/awesome.nix
+++ b/nix/awesome.nix
@@ -44,5 +44,4 @@
   hardware.brillo.enable = true;
   programs.nm-applet.enable = true;
   programs.slock.enable = true;
-  # programs.udevil.enable = true;
 }
diff --git a/nix/configuration.nix b/nix/configuration.nix
index bc0d12c..afe9feb 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -64,11 +64,15 @@
   };
 
   environment.systemPackages = with pkgs; [
-    htop inotify-tools isync killall oathToolkit rsync stow tor unzip w3m wget
-    mpv pavucontrol sent vimiv-qt yacreader youtube-dl
+    compsize htop inotify-tools killall rsync unzip
+    oathToolkit isync stow tor w3m wget youtube-dl
+    mpv pavucontrol sent vimiv-qt yacreader
     ffmpeg gifski gimp imagemagick inkscape pdftk simplescreenrecorder sox
   ];
 
+  programs.iotop.enable = true;
+  programs.udevil.enable = true;
+
   security.rtkit.enable = true;
   # List services that you want to enable:
   services = {
diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix
index 63c0801..5af5d36 100644
--- a/nix/hardware-configuration.nix
+++ b/nix/hardware-configuration.nix
@@ -33,31 +33,31 @@
     "/nix" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=nix" "compress=zstd" "noatime" ];
+      options = [ "subvol=nix" "compress-force=zstd" "noatime" ];
     };
 
     "/etc" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=etc" "compress=zstd" "noatime" ];
+      options = [ "subvol=etc" "compress-force=zstd" "noatime" ];
     };
 
     "/root" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=root" "compress=zstd" "noatime" ];
+      options = [ "subvol=root" "compress-force=zstd" "noatime" ];
     };
 
     "/home" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=home" "compress=zstd" ];
+      options = [ "subvol=home" "compress-force=zstd" ];
     };
 
     "/var/log" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=log" "compress=zstd" ];
+      options = [ "subvol=log" "compress-force=zstd" ];
       neededForBoot = true;
     };
   };