about summary refs log tree commit diff
path: root/common-workstation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common-workstation.nix')
-rw-r--r--common-workstation.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/common-workstation.nix b/common-workstation.nix
index b5f3eff6..5d5f9f73 100644
--- a/common-workstation.nix
+++ b/common-workstation.nix
@@ -69,6 +69,27 @@
 
       displayManager.sessionCommands = ''
         ${pkgs.redshift}/bin/redshift -l 48.428404:10.866007 &
+        ${pkgs.xorg.xrdb}/bin/xrdb "${pkgs.writeText "xrdb.config" ''
+          Rxvt*font:                 vga
+          Rxvt*background:           black
+          Rxvt*foreground:           grey
+          Rxvt*scrollBar:            false
+          Rxvt*saveLines:            2000
+
+          Rxvt*keysym.Home:          \033[1~
+          Rxvt*keysym.End:           \033[4~
+
+          Rxvt*urgentOnBell:         true
+
+          XTerm*font:                vga
+          XTerm*saveLines:           10000
+          XTerm*bellIsUrgent:        true
+          XTerm*background:          black
+          XTerm*foreground:          grey
+
+          XTerm*backarrowKeyIsErase: true
+          XTerm*ptyInitialErase:     true
+        ''}"
       '';
 
       desktopManager.default = "none";