Compare commits

...

3 Commits

Author SHA1 Message Date
Nathan McCarty 0f27e06c17
Tweak tdarr 2023-04-19 00:36:55 -04:00
Nathan McCarty 15bc7bf085
Disable native systemd in wsl for now 2023-04-18 23:52:03 -04:00
Nathan McCarty 97eaf61fa6
Add xcp 2023-04-18 23:51:10 -04:00
3 changed files with 10 additions and 3 deletions

View File

@ -14,6 +14,7 @@ with lib; {
hyperfine
dogdns
duf
xcp
# User friendly cut
choose
# Man but terse

View File

@ -144,7 +144,13 @@
"inContainer" = "true";
};
ports = [ "8265:8265" "8266:8266" "8267:8267" ];
volumes = [ "/var/lib/tdarr:/app/configs" "/mnt/plex:/media" ];
volumes = [
"/var/lib/tdarr/configs:/app/configs"
"/var/lib/tdarr/server:/app/server"
"/var/lib/tdarr/logs:/app/logs"
"/var/lib/tdarr/cache:/app/cache"
"/mnt/plex:/media"
];
extraOptions = [ "--device=/dev/dri:/dev/dri" ];
};
# Configure sonarr - TV
@ -210,6 +216,7 @@
};
# Make the containers depend on their mounts
systemd.services = {
"podman-tdarr" = { after = [ "mnt-plex.mount" ]; };
"podman-plex" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; };
"podman-jellyfin" = { after = [ "mnt-music.mount" "mnt-plex.mount" ]; };
"podman-sabnzbd" = { after = [ "mnt-scratch.mount" ]; };

View File

@ -22,8 +22,7 @@
wsl = {
enable = true;
defaultUser = "nathan";
startMenuLaunchers = true;
nativeSystemd = true;
# nativeSystemd = true;
};
security.sudo.enable = true;