summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ibb/module.nix (renamed from module.nix)14
1 files changed, 10 insertions, 4 deletions
diff --git a/module.nix b/ibb/module.nix
index c6f43ce..0242c35 100644
--- a/module.nix
+++ b/ibb/module.nix
@@ -1,4 +1,10 @@
-{ options, lib, config, pkgs, modulesPath }:
+{ options
+, lib
+, config
+, pkgs
+, modulesPath
+}:
+
let
cfg = config.services.ibb;
in {
@@ -15,11 +21,11 @@ in {
'';
serviceConfig = {
WorkingDirectory=pkgs.ibb;
- KillSignal="INT";
- Type = "simple";
+ KillSignal="INT";
+ Type = "simple";
Restart = "on-abort";
RestartSec = "10";
};
};
};
-} \ No newline at end of file
+}