diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/unit-status-mail.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/unit-status-mail.nix b/custom/unit-status-mail.nix index 54e5cb39..e9007d55 100644 --- a/custom/unit-status-mail.nix +++ b/custom/unit-status-mail.nix | |||
@@ -28,7 +28,7 @@ in { | |||
28 | }; | 28 | }; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | config = mkIf (cfg.onFailure != []) { | 31 | config = mkIf (cfg.onFailure != []) ({ |
32 | systemd.services."unit-status-mail@" = { | 32 | systemd.services."unit-status-mail@" = { |
33 | serviceConfig = { | 33 | serviceConfig = { |
34 | Type = "oneshot"; | 34 | Type = "oneshot"; |
@@ -59,5 +59,5 @@ in { | |||
59 | EOF | 59 | EOF |
60 | ''; | 60 | ''; |
61 | }; | 61 | }; |
62 | } // systemdCfg; | 62 | } // systemdCfg); |
63 | } | 63 | } |