diff options
author | Ben Sima <ben@bsima.me> | 2019-01-30 09:45:12 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-01-30 09:45:54 -0800 |
commit | 6882b1b1263fa636952732d489e31d946c7f39d2 (patch) | |
tree | 933eae891b1858b5b682c1cca2c7e5b8d57587e1 | |
parent | 5ea59678b6a791dc40f8d31de331dce0714ef3ed (diff) |
Move module.nix to ibb directory
This is ibb-specific
-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 +} |