relocated dunst as its not sway dependent.

This commit is contained in:
James Patrick 2022-03-24 19:47:55 -04:00
parent 97724f2a37
commit 20c315f962
2 changed files with 5 additions and 3 deletions

View File

@ -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 = ''

View File

@ -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 ];
}