Fix missing mkIf

This commit is contained in:
Natsu Kagami 2022-04-28 12:43:52 -04:00
parent d1366a95c6
commit 858ddb2c8a
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
2 changed files with 5 additions and 2 deletions

View file

@ -194,7 +194,7 @@ in
'';
};
config.systemd.user.targets.sway-session = {
config.systemd.user.targets.sway-session = mkIf cfg.enable {
Unit = {
Description = "sway compositor session";
Documentation = [ "man:systemd.special(7)" ];