about summary refs log tree commit diff
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
parenta6d13025b22c949342a6dc619e7d0cfe5ddb9dcc (diff)
downloaddotfiles-76cd542cf4bf8153fd191b2aa6ab5b7f77c20be5.tar.gz
Update in the name of Christ
-rw-r--r--awesome/.config/awesome/rc.lua11
-rw-r--r--dev/.gitconfig4
-rw-r--r--newsboat/.config/newsboat/urls1
-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
-rw-r--r--nixos/.bashrc3
-rw-r--r--nixos/.profile1
9 files changed, 25 insertions, 21 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 65810bb..fc7b02d 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -58,7 +58,6 @@ local guile = terminal .. " -e guile"
 local clojure = terminal .. " -e clojure"
 local aerc = terminal .. " -e aerc"
 local amfora = terminal .. " -e amfora"
-local atom = terminal .. " -e newsboat"
 local emacs = "emacs"
 local slock_suspend = "slock systemctl --ignore-inhibitors suspend"
 
@@ -495,10 +494,10 @@ local globalkeys = awful.util.table.join(
             {description = "open Emacs", group = "launcher"}),
   awful.key({modkey}, "e", spawner(aerc),
             {description = "open aerc", group = "launcher"}),
-  awful.key({modkey}, "a", spawner(amfora),
-            {description = "open Amfora Gemini browser", group = "launcher"}),
-  awful.key({modkey, "Shift"}, "a", spawner(atom),
+  awful.key({modkey}, "a", spawner"liferea",
             {description = "open Atom feed", group = "launcher"}),
+  awful.key({modkey, "Shift"}, "a", spawner(amfora),
+            {description = "open Amfora Gemini browser", group = "launcher"}),
   awful.key({modkey, "Control"}, "a", spawner"arandr",
             {description = "open arandr", group = "launcher"}),
   awful.key({modkey}, "f", spawner"firefox",
@@ -513,8 +512,6 @@ local globalkeys = awful.util.table.join(
             {description = "open GIMP", group = "launcher"}),
   awful.key({modkey}, "r", spawner(ranger),
             {description = "open ranger file manager", group = "launcher"}),
-  awful.key({modkey, "Shift"}, "r", spawner(ranger .. " /data"),
-            {description = "open ranger at /data", group = "launcher"}),
   awful.key({modkey}, "p", spawner(python),
             {description = "open Python 3 interpreter", group = "launcher"}),
   awful.key({modkey}, "c", spawner(clojure),
@@ -606,8 +603,6 @@ local clientkeys = awful.util.table.join(
               c:raise()
             end,
             {description = "toggle fullscreen", group = "client"}),
-  awful.key({modkey, "Control"}, "d", spawner"kdocker",
-            {description = "select a window to be docked", group = "client"}),
   awful.key({modkey}, "q", function (c) c:kill() end,
             {description = "close", group = "client"}),
   awful.key({modkey, "Control"}, "q", spawner"xkill",
diff --git a/dev/.gitconfig b/dev/.gitconfig
index 901072b..1303733 100644
--- a/dev/.gitconfig
+++ b/dev/.gitconfig
@@ -5,8 +5,8 @@
 [sendemail]
 	smtpserver = disroot.org
 	smtpuser = mcsinyx@disroot.org
-	smtpencryption = tls
-	smtpserverport = 587
+	smtpencryption = ssl
+	smtpserverport = 465
 [filter "lfs"]
 	clean = git-lfs clean -- %f
 	smudge = git-lfs smudge -- %f
diff --git a/newsboat/.config/newsboat/urls b/newsboat/.config/newsboat/urls
index 1cecb26..c0e5805 100644
--- a/newsboat/.config/newsboat/urls
+++ b/newsboat/.config/newsboat/urls
@@ -22,3 +22,4 @@ https://feeds.feedburner.com/WolfireGames
 https://cnx.srht.site/feed.xml
 https://huyngo.envs.net/index.xml
 https://node2.feed43.com/7524823728140683.xml
+https://viktorwinterberg.substack.com/feed
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;
diff --git a/nixos/.bashrc b/nixos/.bashrc
index c05cab9..520193d 100644
--- a/nixos/.bashrc
+++ b/nixos/.bashrc
@@ -13,8 +13,7 @@ HISTCONTROL=ignoreboth
 shopt -s histappend
 
 # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
-HISTSIZE=32767
-HISTFILESIZE=65536
+HISTSIZE=-1
 
 # check the window size after each command and, if necessary,
 # update the values of LINES and COLUMNS.
diff --git a/nixos/.profile b/nixos/.profile
index 9de9eb7..a66f90e 100644
--- a/nixos/.profile
+++ b/nixos/.profile
@@ -10,6 +10,7 @@
 
 export PATH="$HOME/.local/bin:$PATH"
 export MANPATH="$HOME/.local/share/man:$MANPATH"
+export GOPATH="$HOME/.local/share/go"
 export XMODIFIERS=@im=ibus
 export QT_IM_MODULE=ibus
 export QT_QPA_PLATFORMTHEME=qt5ct