diff options
Diffstat (limited to 'modules/services/atticd.nix')
-rw-r--r-- | modules/services/atticd.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/services/atticd.nix b/modules/services/atticd.nix index e2a7f55..fe11074 100644 --- a/modules/services/atticd.nix +++ b/modules/services/atticd.nix @@ -5,10 +5,6 @@ let cfg = config.modules.services.atticd; in { - imports = [ - inputs.attic.nixosModules.atticd - ]; - options.modules.services.atticd = { enable = mkEnableOption "Whether to enable atticd, a Multi-tenant Nix Binary Cache"; @@ -28,7 +24,7 @@ in (mkIf cfg.enable { services.atticd = { enable = true; - credentialsFile = cfg.secrets.attic-credentials; + environmentFile = cfg.secrets.attic-credentials; settings = { listen = "[::]:4005"; @@ -108,7 +104,7 @@ in # NOTE: currently this expects `attic/config.toml` to be manually # generated and placed on `/var/lib/atticd-watch-store` Environment = "XDG_CONFIG_HOME=/var/lib/atticd-watch-store"; - ExecStart = "${pkgs.attic}/bin/attic watch-store hydra"; + ExecStart = "${pkgs.attic-client}/bin/attic watch-store hydra"; Restart = "on-failure"; RestartSec = "5s"; ProtectKernelLogs = true; |