minor updates

This commit is contained in:
Vivian 2024-01-02 16:55:47 +01:00
parent 24dd2cce4f
commit 1142c6acac
5 changed files with 23 additions and 20 deletions

View file

@ -39,7 +39,6 @@
systemd.tmpfiles.rules =
[ "d '/var/lib/watchstate' 0755 watchstate watchstate -" ];
networking.firewall.allowedTCPPorts = [ 8080 ];
# Managed imperatively through its CLI
@ -51,6 +50,7 @@
WS_TZ = "Europe/Amsterdam";
WS_CRON_IMPORT = "1";
WS_CRON_EXPORT = "1";
WS_CRON_PROGRESS = "1";
};
ports = [ "8080:8080" ];
volumes = [ "/var/lib/watchstate:/config:rw" ];

View file

@ -6,11 +6,12 @@
./fs.nix
];
boot.loader.systemd-boot.enable = true;
services = {
# Enable the OpenSSH daemon.
openssh.enable = true; # Did you read the comment?
openssh.enable = true;
nfs.server = {
enable = true;
@ -22,10 +23,7 @@
snapraid = {
enable = true;
parityFiles =
[
"/mnt/parity1/snapraid.parity"
"/mnt/parity2/snapraid.parity"
];
[ "/mnt/parity1/snapraid.parity" "/mnt/parity2/snapraid.parity" ];
dataDisks = {
d1 = "/mnt/disk1";
d2 = "/mnt/disk2";