Regenerated
This commit is contained in:
+392
-391
File diff suppressed because it is too large
Load Diff
+14
-13
@@ -2035,7 +2035,8 @@ in
|
||||
environment.systemPackages = [ pkgs.swaynotificationcenter ];
|
||||
|
||||
home-manager.users.${username} = {
|
||||
services.swaync.enable = true;
|
||||
# Do NOT enable services.swaync — it would claim the config files
|
||||
# and conflict with our home.file entries below.
|
||||
|
||||
home.file = {
|
||||
".config/swaync/config.json" = {
|
||||
@@ -2050,19 +2051,19 @@ in
|
||||
};
|
||||
|
||||
# Autostart swaync as a systemd user service instead
|
||||
systemd.user.services.swaync = {
|
||||
description = "SwayNotificationCenter";
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
|
||||
Restart = "always";
|
||||
Environment = [
|
||||
"WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}"
|
||||
"XDG_CURRENT_DESKTOP=Hyprland"
|
||||
];
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
systemd.user.services.swaync = {
|
||||
description = "SwayNotificationCenter";
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
|
||||
Restart = "always";
|
||||
Environment = [
|
||||
"WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}"
|
||||
"XDG_CURRENT_DESKTOP=Hyprland"
|
||||
];
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@ in
|
||||
environment.systemPackages = [ pkgs.swaynotificationcenter ];
|
||||
|
||||
home-manager.users.${username} = {
|
||||
services.swaync.enable = true;
|
||||
# Do NOT enable services.swaync — it would claim the config files
|
||||
# and conflict with our home.file entries below.
|
||||
|
||||
home.file = {
|
||||
".config/swaync/config.json" = {
|
||||
@@ -23,17 +24,17 @@ in
|
||||
};
|
||||
|
||||
# Autostart swaync as a systemd user service instead
|
||||
systemd.user.services.swaync = {
|
||||
description = "SwayNotificationCenter";
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
|
||||
Restart = "always";
|
||||
Environment = [
|
||||
"WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}"
|
||||
"XDG_CURRENT_DESKTOP=Hyprland"
|
||||
];
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
systemd.user.services.swaync = {
|
||||
description = "SwayNotificationCenter";
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
|
||||
Restart = "always";
|
||||
Environment = [
|
||||
"WAYLAND_DISPLAY=${config.environment.sessionVariables.WAYLAND_DISPLAY or "wayland-0"}"
|
||||
"XDG_CURRENT_DESKTOP=Hyprland"
|
||||
];
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user