Simon Bruder
9995ff511e
Because of fuuko’s very slow link, the prune had not been successful for a whole quarter. Now that renge has more RAM, it can finally run the prune without having to worry about OOM.
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
../../users/simon
|
|
|
|
./services/languagetool.nix
|
|
./services/media-backup.nix
|
|
./services/media.nix
|
|
./services/photoprism.nix
|
|
./services/torrent.nix
|
|
];
|
|
|
|
sbruder = {
|
|
wireguard.home.enable = true;
|
|
nginx.hardening.enable = true;
|
|
restic.system = {
|
|
enable = true;
|
|
qos = true;
|
|
extraPaths = [
|
|
"/data"
|
|
];
|
|
extraExcludes = [
|
|
"/data/cold/media/video"
|
|
"/data/cold/misc"
|
|
"/data/cold/torrent"
|
|
"/data/hot/torrent"
|
|
"/data/media/video"
|
|
"/data/torrent"
|
|
];
|
|
};
|
|
unfree.allowSoftware = true;
|
|
};
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
};
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
systemd.services.nginx.serviceConfig.SupplementaryGroups = lib.singleton "keys";
|
|
|
|
services.syncthing.enable = true;
|
|
|
|
services.udisks2.enable = true; # does not have gui, but often deals with removable storage
|
|
|
|
networking.hostName = "fuuko";
|
|
|
|
system.stateVersion = "20.09";
|
|
}
|