Compare commits

..

No commits in common. "0834ce42d0fa66f99f3c763cb149445c058afcb0" and "41de261af01e04fe98151697f96a850c7881b989" have entirely different histories.

4 changed files with 9 additions and 23 deletions

View file

@ -2,8 +2,8 @@
let
cfg = import /etc/nixos/modules/vars.nix;
crossseed_port = cfg.arrstack.crossseed.port;
PUID = toString config.users.users.arr.uid;
PGID = toString config.users.groups.arr.gid;
#outpost_port = cfg.authentik.outpostPort;
#domain = "mc-fucker.cool";
in
{
@ -12,21 +12,24 @@ in
cmd = [ "daemon" ];
environment = {
TZ = "Europe/Berlin";
PUID = toString config.users.users.arr.uid;
PGID = toString config.users.groups.arr.gid;
};
ports = [
"${crossseed_port}:${crossseed_port}"
];
user = "${PUID}:${PGID}";
volumes = [
"/var/lib/cross-seed:/config"
#"/mnt/mergerfs/media:/data"
"/var/lib/qbittorrent/qBittorrent/data/BT_backup:/torrents"
"/var/lib/qbittorrent/qBittorrent/data/cross-seeds:/cross-seeds"
"/mnt/mergerfs/media/qbittorrent:/data/qbittorrent"
"/mnt/cache/qbittorrent:/cache"
];
extraOptions = cfg.podman.extraOptions;
autoStart = false;
};
#services.nginx.virtualHosts = {
#};
}
# vim: set et ts=2 sw=2 ai:

View file

@ -29,8 +29,6 @@ in
environment = {
TZ = "Europe/Berlin";
DOCKER_MODS = "linuxserver/mods:universal-calibre";
PUID = "1337";
PGID = "1337";
};
#environmentFiles = [ config.sops.secrets."${name}/env".path ];
ports = [
@ -41,7 +39,6 @@ in
"/mnt/mergerfs/media/books:/books"
];
extraOptions = cfg.podman.extraOptions;
autoStart = false;
};
#services.nginx.virtualHosts.${domain} = {

View file

@ -17,7 +17,6 @@ in
environment = {
TZ = "Europe/Berlin";
ND_SESSIONTIMEOUT = "336h";
ND_SCANNER_ENABLED = "false";
};
environmentFiles = [ config.sops.secrets.navidrome.path ];
ports = [

View file

@ -22,19 +22,6 @@ in
pkgs.smartmontools
];
users.users.zabbix-agent.extraGroups = [ "systemd-journal" ];
#allow zabbix-agent to run smartctl
security.sudo.extraRules = [
{
users = [ "zabbix-agent" ];
commands = [
{
command = "${pkgs.smartmontools}/bin/smartctl";
options = [ "NOPASSWD" ];
}
];
}
];
}
# vim: set et ts=2 sw=2 ai: