fuck docker

- all my homies hate docker
- NixOS is my new friend now
This commit is contained in:
2026-03-17 19:36:46 -04:00
parent 8e81be5537
commit 829828c802
8 changed files with 23 additions and 42 deletions
+1
View File
@@ -32,6 +32,7 @@
./nix/user-quin.nix
./nix/gui1.nix
./nix/mega.nix
./nix/jf-server.nix
];
};
+14
View File
@@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
services.jellyfin = {
enable = true;
openFirewall = true;
};
environment.systemPackages = [
pkgs.jellyfin
pkgs.jellyfin-web
pkgs.jellyfin-ffmpeg
];
}
+2 -1
View File
@@ -66,7 +66,7 @@
# supported GPUs is at:
# https://github.com/NVIDIA/open-gpu-kernel-modules#compatible-gpus
# Only available from driver 515.43.04+
open = false;
open = true;
# Enable the Nvidia settings menu,
# accessible via `nvidia-settings`.
@@ -78,4 +78,5 @@
users.users.qmoran.packages = with pkgs; [ nvtopPackages.nvidia ];
hardware.nvidia-container-toolkit.enable = true;
virtualisation.docker.daemon.settings.features.cdi = true;
}
-1
View File
@@ -2,7 +2,6 @@
SERVICE_NAMES=(
"paperless"
"jellyfin"
"immich"
"navidrome"
"downloadin"
-1
View File
@@ -2,7 +2,6 @@
SERVICE_NAMES=(
"paperless"
"jellyfin"
"immich"
"navidrome"
"downloadin"
+4 -5
View File
@@ -1,12 +1,11 @@
#!/run/current-system/sw/bin/bash
SERVICE_NAMES=(
"paperless"
"jellyfin"
"immich"
"navidrome"
# "paperless"
# "immich"
# "navidrome"
# "downloadin"
"matrix"
# "matrix"
)
for SERVICE in "${SERVICE_NAMES[@]}"; do
docker compose --env-file /etc/.soupclown.env -f $(pwd)/${SERVICE}-compose.yaml up -d
+2 -2
View File
@@ -22,7 +22,7 @@ services:
- /mnt/mega/immich/old-album:/old-album
- /etc/localtime:/etc/localtime:ro
env_file:
- immich.env
- /etc/.soupclown.env
ports:
- "2283:2283"
depends_on:
@@ -43,7 +43,7 @@ services:
volumes:
- model-cache:/cache
env_file:
- immich.env
- /etc/.soupclown.env
restart: always
healthcheck:
disable: false
-32
View File
@@ -1,32 +0,0 @@
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
user: 1000:1000
ports:
- 8096:8096/tcp
- 7359:7359/udp
environment:
- TZ=America/New_York
volumes:
- /etc/jellyfin:/config
- /var/jellyfin-cache:/cache
- type: bind
source: /mnt/mega/jellyfinMedia
target: /media
runtime: nvidia
devices:
- /dev/nvidia-caps:/dev/nvidia-caps
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-modeset:/dev/nvidia-modeset
- /dev/nvidia-uvm:/dev/nvidia-uvm
- /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
restart: "always"