Add util-linux and e2fsprogs to SP API path

This is required for disk space analysis and file system extension by the API
pull/21/head
Inex Code 2022-07-27 16:14:38 +03:00
parent c1ed3a522c
commit 8c81f24fa7
1 changed files with 15 additions and 1 deletions

View File

@ -43,7 +43,21 @@ in
ENABLE_SWAGGER = (if cfg.enableSwagger then "1" else "0");
B2_BUCKET = cfg.b2Bucket;
} // config.networking.proxy.envVars;
path = [ "/var/" "/var/dkim/" pkgs.coreutils pkgs.gnutar pkgs.xz.bin pkgs.gzip pkgs.gitMinimal config.nix.package.out pkgs.nixos-rebuild pkgs.restic pkgs.mkpasswd ];
path = [
"/var/"
"/var/dkim/"
pkgs.coreutils
pkgs.gnutar
pkgs.xz.bin
pkgs.gzip
pkgs.gitMinimal
config.nix.package.out
pkgs.nixos-rebuild
pkgs.restic
pkgs.mkpasswd
pkgs.util-linux
pkgs.e2fsprogs
];
after = [ "network-online.target" ];
wantedBy = [ "network-online.target" ];
serviceConfig = {