diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-03-22 12:34:22 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-03-22 12:34:22 +0530 |
| commit | 4dfd12cac4b15fa58c678af269e465bee0edb23b (patch) | |
| tree | c079ac82768691760e20205c2cafe5a171ed2150 /services/lazylibrarian/default.nix | |
| parent | cef61e5b571bdba43d8b81c253be505c897f4c4b (diff) | |
| download | homeserver-nixos-config-4dfd12cac4b15fa58c678af269e465bee0edb23b.tar.gz homeserver-nixos-config-4dfd12cac4b15fa58c678af269e465bee0edb23b.zip | |
Add kavita for books
Diffstat (limited to 'services/lazylibrarian/default.nix')
| -rw-r--r-- | services/lazylibrarian/default.nix | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/services/lazylibrarian/default.nix b/services/lazylibrarian/default.nix deleted file mode 100644 index 4514713..0000000 --- a/services/lazylibrarian/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ config, pkgs, lib, ... }: -with lib; -let - lazylibrarian = pkgs.callPackage ./package.nix {}; - cfg = config.services.lazylibrarian; -in -{ - options.services.lazylibrarian = { - enable = mkEnableOption "lazy librarian"; - # port = mkOption { type = types.int; default = 53; }; - # hosts = mkOption { type = types.attrsOf types.str; default = {}; }; - }; - - environment.systemPackages = [lazylibrarian]; - - config.systemd.services.lazylibrarian = mkIf cfg.enable { - description = "Lazylibrarian"; - after = [ "network.service" ]; - wantedBy = [ "multi-user.target" ]; - - serviceConfig = { - ExecStart = "${lazylibrarian}/bin/lazylibrarian"; - Restart = "on-failure"; - RestartSec = 3; - TimeoutSec = "5min"; - IgnoreSIGPIPE = "no"; - KillMode = "process"; - GuessMainPID = "no"; - RemainAfterExit = "yes"; - }; - }; -} |
