about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-04-08 11:06:59 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-04-08 11:06:59 +0900
commit959e1ef417451b878a56cc46fffb53bc7ded1a58 (patch)
tree3fb3524e5e40bbfcd705cca57167850f7cc9230b /nix
parent931b1872b2f54334e3a35b05c591492cf998847d (diff)
downloaddotfiles-959e1ef417451b878a56cc46fffb53bc7ded1a58.tar.gz
Snapshot for lab install
Diffstat (limited to 'nix')
-rw-r--r--nix/awesome.nix6
-rw-r--r--nix/configuration.nix6
-rw-r--r--nix/devel.nix4
-rw-r--r--nix/games.nix8
-rw-r--r--nix/hardware-configuration.nix2
5 files changed, 10 insertions, 16 deletions
diff --git a/nix/awesome.nix b/nix/awesome.nix
index 9cc0076..d5375be 100644
--- a/nix/awesome.nix
+++ b/nix/awesome.nix
@@ -37,11 +37,11 @@
   };
 
   environment.systemPackages = with pkgs; [
-    gnome.adwaita-icon-theme networkmanagerapplet qt5ct
+    easyeffects gnome.adwaita-icon-theme networkmanagerapplet qt5ct
     clipbuzz keynav playerctl pulsemixer xclip xdotool xorg.xkill
     aerc amfora calcurse dante khard ncdu ranger ueberzug vim_configurable
-    arandr audacious keepassx liferea scrot rxvt-unicode zathura
-    firefox gajim libreoffice mepo nheko tor-browser-bundle-bin
+    arandr audacious liferea scrot rxvt-unicode zathura
+    firefox gajim libreoffice mepo nheko obs-studio tor-browser-bundle-bin
     nextcloud-client transmission-gtk
   ];
 
diff --git a/nix/configuration.nix b/nix/configuration.nix
index f81fccb..33b4ace 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -31,8 +31,6 @@
     nameservers = [ "9.9.9.11" "149.112.112.11" ];
     extraHosts = ''
       0.0.0.0 9gag.com
-      0.0.0.0 old.reddit.com
-      0.0.0.0 soap2day.md
     '';
     networkmanager.enable = true;
 
@@ -86,10 +84,6 @@
       alsa.enable = true;
       pulse.enable = true;
       # jack.enable = true;
-
-      # Use the example session manager (no others are packaged yet so this is
-      # enabled by default, no need to redefine it in your config for now)
-      # media-session.enable = true;
     };
 
     printing = {
diff --git a/nix/devel.nix b/nix/devel.nix
index d819def..cdf09a7 100644
--- a/nix/devel.nix
+++ b/nix/devel.nix
@@ -3,7 +3,7 @@
 {
   environment.systemPackages = with pkgs; [
     exa fd gitAndTools.gitFull glow jq minicom man-pages ripgrep rlwrap
-    gcc lua python3 rakudo zig
+    gcc lua python3 qbe rakudo zig
     bintools gdb gnumake luaPackages.luacheck mypy pkg-config
     plantuml texlive.combined.scheme-full
   ] ++ (with python3Packages; [ flit pip tox ]);
@@ -22,11 +22,11 @@
     };
 
     ipfs = {
-      enable = true;
       user = "sea";
       dataDir = "/home/sea/.ipfs";
       # autoMount = true;
       localDiscovery = true;
+      enableGC = true;
     };
   };
 }
diff --git a/nix/games.nix b/nix/games.nix
index 958a3df..0ef6905 100644
--- a/nix/games.nix
+++ b/nix/games.nix
@@ -2,16 +2,16 @@
 
 {
   environment.systemPackages = with pkgs; [
-    _20kly hedgewars globulation2 scorched3d teeworlds # strategy
+    hedgewars scorched3d teeworlds # _20kly strategy
     astromenace chromium-bsu # scrolling
     azimuth cdogs-sdl taisei # shmup
     bastet moon-buggy n2048 # text
     blackshades redeclipse xonotic-glx # fps
-    blobwars openclonk sienna superTux # platformer
+    blobwars openclonk superTux # platformer
     bonzomatic # engine
     extremetuxracer gl117 gltron superTuxKart # vehicle
     flare freedroidrpg hyperrogue # slash
-    frozen-bubble gnujump gtetrinet pinball xbill # coffeebreak
-    neverball orthorobot # puzzle
+    frozen-bubble pinball xbill # coffeebreak
+    orthorobot # neverball puzzle
   ];
 }
diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix
index f514c1e..f957f2b 100644
--- a/nix/hardware-configuration.nix
+++ b/nix/hardware-configuration.nix
@@ -53,7 +53,7 @@
     "/home" = {
       device = "/dev/disk/by-uuid/c334d115-eda9-4470-8c28-b01c4628865b";
       fsType = "btrfs";
-      options = [ "subvol=home" "compress-force=zstd" ];
+      options = [ "subvol=home" "compress-force=zstd" "autodefrag" ];
     };
 
     "/var/log" = {