mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-22 23:35:51 -06:00
add check-attic script
This commit is contained in:
parent
de5bfd63b0
commit
9725c4e870
1 changed files with 6 additions and 0 deletions
|
@ -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 // {
|
||||
|
|
Loading…
Add table
Reference in a new issue