diff options
author | Ben Sima <ben@bsima.me> | 2020-12-30 12:20:07 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2020-12-30 12:20:07 -0500 |
commit | f0895bfd73c53d9d5d9811c632d8e6f5e99dc0d4 (patch) | |
tree | 29c446dc76c8c4f14cea67189c3d91ad0b1db4cc /Biz/Ibb/service.nix | |
parent | 2d6075d13a9d2cf023cb34a079b0c071af9ee650 (diff) |
Remove Biz/Ibb
Diffstat (limited to 'Biz/Ibb/service.nix')
-rw-r--r-- | Biz/Ibb/service.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/Biz/Ibb/service.nix b/Biz/Ibb/service.nix deleted file mode 100644 index f9d0f36..0000000 --- a/Biz/Ibb/service.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ options -, lib -, config -, pkgs -, modulesPath -}: - -let - cfg = config.services.ibb; -in -{ - options.services.ibb = { - enable = lib.mkEnableOption "Enable the IBB service"; - port = lib.mkOption { - type = lib.types.string; - default = "3000"; - description = '' - The port on which IBB will listen for - incoming HTTP traffic. - ''; - }; - }; - config = lib.mkIf cfg.enable { - systemd.services.ibb = { - path = with pkgs; [ ibb bash ]; - wantedBy = [ "multi-user.target" ]; - script = '' - PORT=${cfg.port} ./bin/ibb - ''; - description = '' - Influenced By Books website - ''; - serviceConfig = { - WorkingDirectory = pkgs.ibb; - KillSignal = "INT"; - Type = "simple"; - Restart = "on-abort"; - RestartSec = "10"; - }; - }; - }; -} |