add jellyfin to swan

This commit is contained in:
Noah Masur 2023-02-28 04:27:10 +00:00
parent ab9136af2c
commit 43343b2824
3 changed files with 5 additions and 2 deletions

View File

@ -29,7 +29,7 @@ nixpkgs.lib.nixosSystem {
# FQDNs for various services
networking.hostName = "flame";
bookServer = "books.masu.rs";
streamServer = "stream.masu.rs";
# streamServer = "stream.masu.rs";
nextcloudServer = "cloud.masu.rs";
transmissionServer = "download.masu.rs";
metricsServer = "metrics.masu.rs";

View File

@ -38,8 +38,8 @@ nixpkgs.lib.nixosSystem {
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
nixpkgs.overlays = overlays;
neovim.enable = true;
wsl.enable = false;
caddy.enable = true;
streamServer = "stream.masu.rs";
backup.s3 = {
endpoint = "s3.us-west-002.backblazeb2.com";

View File

@ -20,6 +20,9 @@
}];
}];
# Grant user access to Jellyfin directories
users.users.${config.user}.extraGroups = [ "jellyfin" ];
# Create videos directory, allow anyone in Jellyfin group to manage it
systemd.tmpfiles.rules = [
"d /var/lib/jellyfin 0775 jellyfin jellyfin"