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