mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +00:00
add jellyfin to swan
This commit is contained in:
parent
ab9136af2c
commit
43343b2824
@ -29,7 +29,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
# FQDNs for various services
|
# FQDNs for various services
|
||||||
networking.hostName = "flame";
|
networking.hostName = "flame";
|
||||||
bookServer = "books.masu.rs";
|
bookServer = "books.masu.rs";
|
||||||
streamServer = "stream.masu.rs";
|
# streamServer = "stream.masu.rs";
|
||||||
nextcloudServer = "cloud.masu.rs";
|
nextcloudServer = "cloud.masu.rs";
|
||||||
transmissionServer = "download.masu.rs";
|
transmissionServer = "download.masu.rs";
|
||||||
metricsServer = "metrics.masu.rs";
|
metricsServer = "metrics.masu.rs";
|
||||||
|
@ -38,8 +38,8 @@ nixpkgs.lib.nixosSystem {
|
|||||||
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
|
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
wsl.enable = false;
|
|
||||||
caddy.enable = true;
|
caddy.enable = true;
|
||||||
|
streamServer = "stream.masu.rs";
|
||||||
|
|
||||||
backup.s3 = {
|
backup.s3 = {
|
||||||
endpoint = "s3.us-west-002.backblazeb2.com";
|
endpoint = "s3.us-west-002.backblazeb2.com";
|
||||||
|
@ -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
|
# Create videos directory, allow anyone in Jellyfin group to manage it
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/lib/jellyfin 0775 jellyfin jellyfin"
|
"d /var/lib/jellyfin 0775 jellyfin jellyfin"
|
||||||
|
Loading…
Reference in New Issue
Block a user