relocated dunst as its not sway dependent.
This commit is contained in:
parent
97724f2a37
commit
20c315f962
|
@ -2,6 +2,7 @@
|
|||
let
|
||||
cfg = config.this.application.dunst;
|
||||
sway = config.this.application.sway;
|
||||
graphical = config.this.graphical;
|
||||
in with lib; {
|
||||
options = {
|
||||
this.application.dunst.enable = mkOption {
|
||||
|
@ -77,8 +78,9 @@ in with lib; {
|
|||
};
|
||||
systemd.user.services.dunst = {
|
||||
enable = true;
|
||||
description = "dunst foo";
|
||||
wantedBy = [ "sway-session.target" ];
|
||||
description = "Dunst";
|
||||
wantedBy = [ "graphical-session.target" ]
|
||||
++ optional sway.enable [ "sway-session.target" ];
|
||||
partOf = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
|
@ -1,3 +1,3 @@
|
|||
{ config, pkgs, ... }: {
|
||||
imports = [ ./dunst.nix ./sway.nix ./gammastep.nix ./mako.nix ./waybar.nix ];
|
||||
imports = [ ./sway.nix ./gammastep.nix ./mako.nix ./waybar.nix ];
|
||||
}
|
||||
|
|
Reference in New Issue
Block a user