formatting
This commit is contained in:
parent
4871234cee
commit
1968083917
3 changed files with 4 additions and 4 deletions
|
@ -31,5 +31,4 @@
|
||||||
nginx.enable = true;
|
nginx.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,5 @@ in
|
||||||
credentialsFile = config.sops.secrets."security/acme/env".path;
|
credentialsFile = config.sops.secrets."security/acme/env".path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,16 +22,19 @@ with lib;
|
||||||
extraPools = cfg.mountPoolsAtBoot;
|
extraPools = cfg.mountPoolsAtBoot;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.zfs = {
|
services.zfs = {
|
||||||
autoScrub.enable = true;
|
autoScrub.enable = true;
|
||||||
# Defaults to weekly and is a bit too regular for my NAS
|
# Defaults to weekly and is a bit too regular for my NAS
|
||||||
autoScrub.interval = "weekly";
|
autoScrub.interval = "weekly";
|
||||||
trim.enable = true;
|
trim.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Pushover notifications
|
# Pushover notifications
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
busybox
|
busybox
|
||||||
];
|
];
|
||||||
|
|
||||||
services.zfs.zed.settings = {
|
services.zfs.zed.settings = {
|
||||||
ZED_PUSHOVER_TOKEN = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-api-key.path})";
|
ZED_PUSHOVER_TOKEN = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-api-key.path})";
|
||||||
ZED_PUSHOVER_USER = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-user-key.path})";
|
ZED_PUSHOVER_USER = "$(${pkgs.busybox}/bin/cat ${config.sops.secrets.pushover-user-key.path})";
|
||||||
|
|
Loading…
Reference in a new issue