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

View file

@ -128,7 +128,7 @@ with lib; {
drivers = [ drivers = [
pkgs.gutenprint pkgs.gutenprint
# pkgs.cups-kyocera # pkgs.cups-kyocera
pkgs.unstable_pkgs.cups-kyodialog pkgs.cups-kyodialog
]; ];
}; };