Add udiskie service, syncthing tray

Add systemd tray target to enable proper tray integration
This commit is contained in:
Evie Litherland-Smith 2023-11-09 11:42:12 +00:00
parent 454d446077
commit afd5c3c5c7
3 changed files with 15 additions and 6 deletions

View file

@ -4,7 +4,16 @@
imports = [ ./waybar/default.nix ./gtk.nix ./mako.nix ./rofi.nix ];
services = {
avizo.enable = true;
syncthing.enable = true;
udiskie = {
enable = true;
notify = true;
automount = true;
tray = "auto";
};
syncthing = {
enable = true;
tray.enable = true;
};
};
wayland.windowManager.hyprland = {
enable = true;

View file

@ -22,6 +22,10 @@
* { font-family: "${config.stylix.fonts.sansSerif.name}" }
'';
systemd.user.targets.tray.Unit = {
Description = "Home Manager System Tray";
Requires = [ "graphical-session-pre.target" ];
};
programs.waybar = {
enable = true;
style = ./style.css;

View file

@ -61,9 +61,5 @@
kdeconnect.enable = true;
};
gtk.iconCache.enable = true;
qt = {
enable = true;
style = "gtk2";
platformTheme = "gtk2";
};
qt.enable = true;
}