From 465f3d3f14910797a0ae645fc200ebf35a9ac79c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 27 Nov 2021 20:56:05 +0300 Subject: chore(tazjin/tverskoy): Minor config cleanups Change-Id: I434c0b8d5e5ce2d077630de2dd71de309b7d076f --- users/tazjin/nixos/tverskoy/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'users/tazjin/nixos/tverskoy/default.nix') 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 = '' -- cgit 1.4.1