about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-08-06 16:22:12 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-08-06 16:22:12 +0700
commit2fd7c9fbb921ceb578edd56a000c9a0f098b6f6b (patch)
treeb562e15b9d7b328e3f9980b0a77918eb2a9a6896
parentf140f08bc6c39037958048294fd241a28d8da607 (diff)
downloaddotfiles-2fd7c9fbb921ceb578edd56a000c9a0f098b6f6b.tar.gz
Update Nix packages list
-rw-r--r--dev/.config/htop/htoprc39
-rw-r--r--nix/awesome.nix7
-rw-r--r--nix/configuration.nix14
-rw-r--r--nix/devel.nix6
-rw-r--r--nix/games.nix5
5 files changed, 17 insertions, 54 deletions
diff --git a/dev/.config/htop/htoprc b/dev/.config/htop/htoprc
deleted file mode 100644
index e3e5dd8..0000000
--- a/dev/.config/htop/htoprc
+++ /dev/null
@@ -1,39 +0,0 @@
-# Beware! This file is rewritten by htop when settings are changed in the interface.
-# The parser is also very primitive, and not human-friendly.
-fields=0 48 17 18 38 39 40 2 46 47 49 1
-sort_key=47
-sort_direction=-1
-tree_sort_key=0
-tree_sort_direction=1
-hide_kernel_threads=1
-hide_userland_threads=0
-shadow_other_users=0
-show_thread_names=0
-show_program_path=1
-highlight_base_name=0
-highlight_megabytes=1
-highlight_threads=1
-highlight_changes=0
-highlight_changes_delay_secs=5
-find_comm_in_cmdline=1
-strip_exe_from_cmdline=1
-show_merged_command=1
-tree_view=1
-tree_view_always_by_pid=0
-header_margin=1
-detailed_cpu_time=0
-cpu_count_from_one=0
-show_cpu_usage=1
-show_cpu_frequency=0
-show_cpu_temperature=0
-degree_fahrenheit=0
-update_process_names=0
-account_guest_in_cpu_meter=0
-color_scheme=0
-enable_mouse=1
-delay=15
-left_meters=AllCPUs4 CPU
-left_meter_modes=1 1
-right_meters=Memory Swap Battery
-right_meter_modes=1 1 1
-hide_function_bar=0
diff --git a/nix/awesome.nix b/nix/awesome.nix
index 15c7bd3..e4c5600 100644
--- a/nix/awesome.nix
+++ b/nix/awesome.nix
@@ -27,13 +27,14 @@
 
   environment.systemPackages = with pkgs; [
     gnome.adwaita-icon-theme gnome.networkmanagerapplet qt5ct
-    clipbuzz playerctl pulsemixer xclip xdotool
+    clipbuzz cowsay playerctl pulsemixer xclip xdotool xscreensaver
     aerc amfora ncdu newsboat ranger ueberzug rxvt-unicode vim_configurable
     arandr audacious keynav scrot sigil xorg.xkill zathura
-    firefox libreoffice nheko transmission-gtk
+    dino firefox libreoffice nheko transmission-gtk
   ];
 
+  hardware.brillo.enable = true;
   programs.nm-applet.enable = true;
   programs.slock.enable = true;
-  programs.udevil.enable = true;
+  # programs.udevil.enable = true;
 }
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 83d28c9..75fd419 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -47,7 +47,7 @@
 
     # Overcoming my strange addiction
     extraHosts = ''
-      127.0.0.1 9gag.com
+      0.0.0.0 9gag.com
     '';
   };
 
@@ -62,14 +62,14 @@
 
   users.users.sea = {
     isNormalUser = true;
-    extraGroups = [ "networkmanager" "wheel" ];
+    extraGroups = [ "networkmanager" "video" "wheel" ];
   };
 
   nix.autoOptimiseStore = true;
   environment.systemPackages = with pkgs; [
     htop isync killall oathToolkit rsync stow unzip w3m wget
     mpv pavucontrol sent vimiv-qt yacreader youtube-dl
-    ffmpeg gifski gimp imagemagick inkscape simplescreenrecorder
+    ffmpeg gifski gimp imagemagick inkscape pdftk simplescreenrecorder
   ];
 
   security.rtkit.enable = true;
@@ -80,7 +80,7 @@
       alsa.enable = true;
       alsa.support32Bit = true;
       pulse.enable = true;
-      jack.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)
@@ -88,12 +88,12 @@
     };
 
     printing = {
-      enable = true;
-      drivers = with pkgs; [ hplipWithPlugin ];
+      # enable = true;
+      # drivers = with pkgs; [ hplipWithPlugin ];
     };
 
     dictd = {
-      enable = true;
+      # enable = true;
       DBs = with pkgs.dictdDBs; [ wiktionary wordnet ];
     };
   };
diff --git a/nix/devel.nix b/nix/devel.nix
index 113d966..1de9179 100644
--- a/nix/devel.nix
+++ b/nix/devel.nix
@@ -4,9 +4,9 @@
   environment.systemPackages = with pkgs; [
     exa fd gitAndTools.gitFull glow jq manpages ripgrep rlwrap
     clojure gcc guile julia-stable-bin lua python3 rakudo zig
-    bintools gdb gnumake leiningen pkg-config python38Packages.pip
-    groff plantuml texlive.combined.scheme-full
-  ];
+    bintools gdb gnumake leiningen mypy nix-index pkg-config
+    plantuml texlive.combined.scheme-full
+  ] ++ (with python3Packages; [ flit pip ]);
 
   programs.mtr.enable = true;
   programs.gnupg.agent = {
diff --git a/nix/games.nix b/nix/games.nix
index ec0e2d8..8381cba 100644
--- a/nix/games.nix
+++ b/nix/games.nix
@@ -9,12 +9,13 @@
     azimuth cdogs-sdl taisei # shmup
     bastet moon-buggy n2048 # text
     # blackshades redeclipse warsow xonotic-glx # fps
+    redeclipse xonotic-glx
     blobwars openclonk sienna superTux # platformer
-    bonzomatic # edu
+    bonzomatic love # engine
     extremetuxracer gl117 gltron superTuxKart # vehicle
     flare freedroidrpg hyperrogue # slash
     frozen-bubble gnujump gtetrinet pinball xbill # coffeebreak
-    neverball orthorobot trackballs # puzzle
+    neverball orthorobot # puzzle
     (steam.override {
       nativeOnly = true;
       extraPkgs = pkgs: [ SDL2_net ];