This commit is contained in:
Filippo Berto 2023-09-15 11:48:58 +02:00
parent ff4dead844
commit b03d3a72ce
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
2 changed files with 12 additions and 53 deletions

View file

@ -103,36 +103,16 @@ with lib; {
};
gnome.gnome-keyring.enable = true;
gvfs.enable = true;
jackett = {
enable = true;
# package = pkgs.unstable_pkgs.jackett;
openFirewall = true;
group = "users";
};
jellyfin = {
enable = true;
# package = pkgs.unstable_pkgs.jellyfin;
openFirewall = true;
group = "users";
};
jackett = { enable = true; openFirewall = true; group = "users"; };
jellyfin = { enable = true; openFirewall = true; group = "users"; };
logind.lidSwitch = "ignore";
# node-red = { enable = true; openFirewall = true; withNpmAndGcc = true; };
openssh = {
enable = true;
openFirewall = true;
};
openssh = { enable = true; openFirewall = true; };
# plex = { enable = true; openFirewall = true; group = "users"; };
power-profiles-daemon.enable = true;
prowlarr = { enable = true; openFirewall = true; };
radarr = {
enable = true;
openFirewall = true;
group = "users";
};
samba-wsdd = {
enable = true;
discovery = true;
};
radarr = { enable = true; openFirewall = true; group = "users"; };
samba-wsdd = { enable = true; discovery = true; };
samba = {
enable = true;
enableNmbd = true;
@ -181,11 +161,7 @@ with lib; {
};
};
smartd.enable = true;
sonarr = {
enable = true;
openFirewall = true;
group = "users";
};
sonarr = { enable = true; openFirewall = true; group = "users"; };
thermald.enable = true;
transmission = {
enable = true;
@ -260,18 +236,9 @@ with lib; {
};
in
{
bertof = recursiveUpdate common {
SUBVOLUME = "/home/bertof/";
ALLOW_USERS = [ "bertof" ];
};
tiziano = recursiveUpdate common {
SUBVOLUME = "/home/tiziano/";
ALLOW_USERS = [ "tiziano" ];
};
condiviso = recursiveUpdate common {
SUBVOLUME = "/mnt/condiviso";
ALLOW_USERS = [ "bertof" "tiziano" ];
};
bertof = recursiveUpdate common { SUBVOLUME = "/home/bertof/"; ALLOW_USERS = [ "bertof" ]; };
tiziano = recursiveUpdate common { SUBVOLUME = "/home/tiziano/"; ALLOW_USERS = [ "tiziano" ]; };
condiviso = recursiveUpdate common { SUBVOLUME = "/mnt/condiviso"; ALLOW_USERS = [ "bertof" "tiziano" ]; };
};
};
@ -412,16 +379,8 @@ with lib; {
"map" = { };
mobile_app = { };
notify = [
{
platform = "telegram";
name = "t_filippo";
chat_id = "!secret filippo_t_chat_id";
}
{
platform = "telegram";
name = "t_famiglia";
chat_id = "!secret famiglia_t_chat_id";
}
{ platform = "telegram"; name = "t_filippo"; chat_id = "!secret filippo_t_chat_id"; }
{ platform = "telegram"; name = "t_famiglia"; chat_id = "!secret famiglia_t_chat_id"; }
];
recorder.purge_keep_days = 30;
script = "!include scripts.yaml";