diff options
Diffstat (limited to 'module.nix')
-rw-r--r-- | module.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/module.nix b/module.nix deleted file mode 100644 index c6f43ce..0000000 --- a/module.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ options, lib, config, pkgs, modulesPath }: -let - cfg = config.services.ibb; -in { - options.services.ibb.enable = lib.mkEnableOption "Enable the IBB service"; - config = lib.mkIf cfg.enable { - systemd.services.ibb = { - path = with pkgs; [ ibb bash ]; - wantedBy = [ "multi-user.target" ]; - script = '' - ./bin/ibb - ''; - description = '' - https://ibb.buildmindful.com - ''; - serviceConfig = { - WorkingDirectory=pkgs.ibb; - KillSignal="INT"; - Type = "simple"; - Restart = "on-abort"; - RestartSec = "10"; - }; - }; - }; -}
\ No newline at end of file |