Nix configurations for my homelab
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add targets to bind to the graphical-session*.targets

yemou 4f198fec ae9b97a0

+17
+17
modules/gui.nix
··· 82 82 xwayland.enable = true; 83 83 }; 84 84 85 + # TODO: make a script that will start river using these targets properly 86 + # Will need a Desktop Entry, the script will first call call `river-session-pre` and then once river is started, 87 + # `river-session` will be called from inside river. When river terminates, both `river-session` and 88 + # `river-session-pre` will be un called 89 + systemd.user.targets = { 90 + "river-session-pre" = { 91 + description = "River compositor session"; 92 + bindsTo = [ "graphical-session-pre.target" ]; 93 + }; 94 + "river-session" = { 95 + description = "River compositor session"; 96 + bindsTo = [ "graphical-session.target" ]; 97 + wants = [ "graphical-session-pre.target" ]; 98 + after = [ "graphical-session-pre.target" ]; 99 + }; 100 + }; 101 + 85 102 # System-wide packages 86 103 environment. systemPackages = with pkgs; [ adwaita-icon-theme ]; 87 104