Freya: add services

This commit is contained in:
Filippo Berto 2023-11-22 16:16:34 +01:00
parent 991c8ffc7d
commit 1e97b179af
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, ... }: {
console = { font = "Lat2-Terminus16"; keyMap = "it"; };
@ -71,7 +71,28 @@
# enable = true;
# desktopManager.retroarch = { enable = true; package = pkgs.retroarchFull; };
# };
bazarr = { enable = true; openFirewall = true; group = "users"; };
fail2ban = { enable = true; bantime-increment.enable = true; };
jellyfin = { enable = true; openFirewall = true; group = "users"; };
prowlarr = { enable = true; openFirewall = true; };
radarr = { enable = true; openFirewall = true; group = "users"; };
sonarr = { enable = true; openFirewall = true; group = "users"; };
transmission = { enable = true; openFirewall = true; group = "users"; }
// { settings = { download-dir = "/mnt/raid/condiviso/Torrent"; incomplete-dir = "/mnt/raid/condiviso/Torrent/.incomplete"; }; };
snapper.configs =
let
common = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; };
in
{
bertof = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/bertof/"; ALLOW_USERS = [ "bertof" ]; };
tiziano = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/tiziano/"; ALLOW_USERS = [ "tiziano" ]; };
condiviso = lib.recursiveUpdate common { SUBVOLUME = "/mnt/raid/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; };
};
};
time.timeZone = "Europe/Rome";