diff options
Diffstat (limited to 'Biz/Dragons.nix')
-rw-r--r-- | Biz/Dragons.nix | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Biz/Dragons.nix b/Biz/Dragons.nix index 6473232..2530572 100644 --- a/Biz/Dragons.nix +++ b/Biz/Dragons.nix @@ -1,14 +1,7 @@ -{ options -, lib -, config -, pkgs -, ... -}: +{ options, lib, config, pkgs, ... }: -let - cfg = config.services.dragons; -in -{ +let cfg = config.services.dragons; +in { options.services.dragons = { enable = lib.mkEnableOption "Enable the dragons service"; port = lib.mkOption { @@ -55,7 +48,7 @@ in "DEPO=${cfg.depo}" "KEEP=${cfg.keep}" ]; - EnvironmentFile="/run/dragons/env"; + EnvironmentFile = "/run/dragons/env"; KillSignal = "INT"; Type = "simple"; Restart = "on-abort"; |