attic icon indicating copy to clipboard operation
attic copied to clipboard

actticd.service not Active

Open MaximilianCF opened this issue 3 months ago • 0 comments

I'm trying to setup a Attic server on a Proxmox VM running NixOS.

In my configuration.nix (Opentofu reads it):

inputs.attic.nixosModules.atticd
  ];
...
  services.atticd = {
    enable = true;
    environmentFile = "/home/max/attic.env";
    settings = {
      listen = "192.168.150.10:8080";
      chunking = 
      nar-size-threshold = 64 * 1024; # 64 KiB
      min-size = 16 * 1024; # 16 KiB
      avg-size = 64 * 1024; # 64 KiB
      max-size = 256 * 1024; # 256 KiB
     };
    };
  }; 

And the output of systemctl status atticd:

systemctl status atticd | fmt -w 80
● atticd.service
     Loaded: loaded (/etc/systemd/system/atticd.service; enabled; preset:
     ignored) Active: activating (auto-restart) (Result: exit-code) since
     Fri 2025-09-19 20:42:47 UTC; 6s ago
 Invocation: b43310af0b0247af9b0fd6ef83c5db16
    Process: 1210
    ExecStart=/nix/store/h90agfc27v9pawmccdjpn682jipx3yll-attic-server-0.1.0/bin/atticd
    -f /nix/store/85rmjf7n30ijqgbwjsqsi9l93kxan7ly-checked-attic-server.toml
    --mode monolithic (code=exited, status=101)
   Main PID: 1210 (code=exited, status=101)
         IP: 0B in, 0B out IO: 0B read, 0B written
   Mem peak: 2.5M
        CPU: 14ms

set 19 20:42:47 nixos-infra-server systemd[1]: atticd.service: Main process
exited, code=exited, status=101/n/a set 19 20:42:47 nixos-infra-server
systemd[1]: atticd.service: Failed with result 'exit-code'.

If I run atticd to start the server, I get command not found.

Am I missing something??

Thanks.

MaximilianCF avatar Sep 19 '25 20:09 MaximilianCF