about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-11-27T17·56+0300
committerVincent Ambo <mail@tazj.in>2021-11-27T17·56+0300
commit465f3d3f14910797a0ae645fc200ebf35a9ac79c (patch)
treed6f62b255afd822caa584dc15e360d2d6ba9ad3c
parent67d7bc2fa8a6b333a424a62cf9030356923dcaac (diff)
chore(tazjin/tverskoy): Minor config cleanups r/3101
Change-Id: I434c0b8d5e5ce2d077630de2dd71de309b7d076f
-rw-r--r--users/tazjin/nixos/tverskoy/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix
index 9fe32446837a..5a87c4df3ef2 100644
--- a/users/tazjin/nixos/tverskoy/default.nix
+++ b/users/tazjin/nixos/tverskoy/default.nix
@@ -167,6 +167,7 @@ in lib.fix(self: {
     printing.enable = true;
 
     # expose i2c device as /dev/i2c-amdgpu-dm and make it user-accessible
+    # this is required for sending control commands to the Dasung screen.
     udev.extraRules = ''
       SUBSYSTEM=="i2c-dev", ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:08.1/0000:06:00.0/i2c-5/i2c-dev/i2c-5", SYMLINK+="i2c-amdgpu-dm", TAG+="uaccess"
     '';
@@ -380,14 +381,16 @@ in lib.fix(self: {
         lockCmd = "${screenLock}/bin/tazjin-screen-lock";
       };
 
-      services.dunst.enable = true;
-
       services.picom = {
         enable = true;
         vSync = true;
         backend = "glx";
       };
 
+      # Enable the dunst notification daemon, but force the
+      # configuration file separately instead of going via the strange
+      # Nix->dunstrc encoding route.
+      services.dunst.enable = true;
       xdg.configFile."dunst/dunstrc" = {
         source = depot.users.tazjin.dotfiles.dunstrc;
         onChange = ''