about summary refs log tree commit diff
path: root/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
parenta6d13025b22c949342a6dc619e7d0cfe5ddb9dcc (diff)
downloaddotfiles-76cd542cf4bf8153fd191b2aa6ab5b7f77c20be5.tar.gz
Update in the name of Christ
Diffstat (limited to 'nix')
-rw-r--r--nix/awesome.nix6
-rw-r--r--nix/configuration.nix8
-rw-r--r--nix/devel.nix4
-rw-r--r--nix/hardware-configuration.nix8
4 files changed, 17 insertions, 9 deletions
diff --git a/nix/awesome.nix b/nix/awesome.nix
index d1f4f2a..4116405 100644
--- a/nix/awesome.nix
+++ b/nix/awesome.nix
@@ -35,9 +35,9 @@
 
   environment.systemPackages = with pkgs; [
     gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct
-    clipbuzz playerctl pulsemixer xclip xdotool xscreensaver
-    aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable
-    arandr audacious keynav scrot sigil xorg.xkill zathura
+    clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill
+    aerc amfora ncdu ranger ueberzug rxvt-unicode vim_configurable
+    arandr audacious keepassx-community liferea scrot zathura
     firefox libreoffice mumble nheko tor-browser-bundle-bin transmission-gtk
   ];
 
diff --git a/nix/configuration.nix b/nix/configuration.nix
index afe9feb..e9c6e31 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -64,8 +64,8 @@
   };
 
   environment.systemPackages = with pkgs; [
-    compsize htop inotify-tools killall rsync unzip
-    oathToolkit isync stow tor w3m wget youtube-dl
+    compsize cryptsetup htop inotify-tools killall rsync unzip
+    oathToolkit isync stow tor w3m wget yt-dlp
     mpv pavucontrol sent vimiv-qt yacreader
     ffmpeg gifski gimp imagemagick inkscape pdftk simplescreenrecorder sox
   ];
@@ -89,8 +89,8 @@
     };
 
     printing = {
-      # enable = true;
-      # drivers = with pkgs; [ hplipWithPlugin ];
+      enable = true;
+      drivers = with pkgs; [ hplip ];
     };
 
     dictd = {
diff --git a/nix/devel.nix b/nix/devel.nix
index 11d0509..c6656ad 100644
--- a/nix/devel.nix
+++ b/nix/devel.nix
@@ -2,8 +2,8 @@
 
 {
   environment.systemPackages = with pkgs; [
-    exa fd gitAndTools.gitFull glow jq minicom manpages ripgrep rlwrap
-    gcc julia-stable-bin lua python3 rakudo zig
+    exa fd gitAndTools.gitFull glow jq kvm minicom manpages ripgrep rlwrap
+    gcc lua python3 rakudo zig
     bintools gdb gnumake luaPackages.luacheck mypy pkg-config
     plantuml sile texlive.combined.scheme-full
   ] ++ (with python3Packages; [ flit pip tox ]);
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;