cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
nix-build-mail = pkgs.writeShellScript "echo -e \"Content-Type: text/plain\\r\\nSubject: NixOS cache rebuild failed\\r\\n\\r\\nThe nix-rebuild-cache service failed at $(date).\" | sendmail jalle008@proton.me";
|
||||
in
|
||||
@@ -13,6 +13,14 @@ in
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.atticd = {
|
||||
enable = true;
|
||||
environmentFile = config.sops.secrets."jallen-nas/attic-key".path;
|
||||
settings = {
|
||||
listen = "[::]:9012";
|
||||
};
|
||||
};
|
||||
|
||||
# Improved systemd service with better error handling
|
||||
systemd = {
|
||||
services = {
|
||||
@@ -299,8 +307,8 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# nix.settings.builders-use-substitutes = true;
|
||||
# nix.distributedBuilds = true;
|
||||
nix.settings.builders-use-substitutes = true;
|
||||
nix.distributedBuilds = true;
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "pi5.local";
|
||||
|
||||
Reference in New Issue
Block a user