chore(tazjin/tverskoy): Minor config cleanups

Change-Id: I434c0b8d5e5ce2d077630de2dd71de309b7d076f
This commit is contained in:
Vincent Ambo 2021-11-27 20:56:05 +03:00
parent 67d7bc2fa8
commit 465f3d3f14

View file

@ -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 = ''