mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-23 07:55:50 -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
|
mkdir $out
|
||||||
cp ${./caddy/index.html} $out/index.html
|
cp ${./caddy/index.html} $out/index.html
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
check-attic = pkgs.writeShellScriptBin "check-attic" ''
|
||||||
|
sudo du -sh /var/lib/atticd/
|
||||||
|
'';
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -28,6 +33,7 @@ in
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.attic-client
|
pkgs.attic-client
|
||||||
|
check-attic
|
||||||
];
|
];
|
||||||
|
|
||||||
services.atticd = enabled // {
|
services.atticd = enabled // {
|
||||||
|
|
Loading…
Add table
Reference in a new issue