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 ]; imports = [ ./waybar/default.nix ./gtk.nix ./mako.nix ./rofi.nix ];
services = { services = {
avizo.enable = true; avizo.enable = true;
syncthing.enable = true; udiskie = {
enable = true;
notify = true;
automount = true;
tray = "auto";
};
syncthing = {
enable = true;
tray.enable = true;
};
}; };
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

View file

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

View file

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