aboutsummaryrefslogtreecommitdiff
path: root/services/lazylibrarian/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'services/lazylibrarian/default.nix')
-rw-r--r--services/lazylibrarian/default.nix32
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";
- };
- };
-}