add check-attic script

This commit is contained in:
Daylin Morgan 2025-02-07 15:39:52 -06:00
parent de5bfd63b0
commit 9725c4e870
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -10,6 +10,11 @@ let
mkdir $out
cp ${./caddy/index.html} $out/index.html
'';
check-attic = pkgs.writeShellScriptBin "check-attic" ''
sudo du -sh /var/lib/atticd/
'';
in
{
@ -28,6 +33,7 @@ in
environment.systemPackages = [
pkgs.attic-client
check-attic
];
services.atticd = enabled // {