mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
format all
This commit is contained in:
parent
091cfbdf96
commit
bcf0553529
40 changed files with 271 additions and 140 deletions
|
|
@ -1,10 +1,14 @@
|
|||
{pkgs, ...}: let
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
mediaDir = "/var/lib/media";
|
||||
in {
|
||||
in
|
||||
{
|
||||
users = {
|
||||
groups.multimedia = {gid = 994;};
|
||||
users."root".extraGroups = ["multimedia"];
|
||||
users."media".extraGroups = ["multimedia"];
|
||||
groups.multimedia = {
|
||||
gid = 994;
|
||||
};
|
||||
users."root".extraGroups = [ "multimedia" ];
|
||||
users."media".extraGroups = [ "multimedia" ];
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
|
|
@ -87,7 +91,11 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
cloudflare-dyndns.domains = ["media.cleslie.uk" "watch.cleslie.uk" "request.cleslie.uk"];
|
||||
cloudflare-dyndns.domains = [
|
||||
"media.cleslie.uk"
|
||||
"watch.cleslie.uk"
|
||||
"request.cleslie.uk"
|
||||
];
|
||||
|
||||
jellyfin = {
|
||||
enable = true;
|
||||
|
|
@ -126,7 +134,7 @@ in {
|
|||
dataDir = "${mediaDir}/torrents";
|
||||
declarative = true;
|
||||
config = {
|
||||
enabled_plugins = ["Label"];
|
||||
enabled_plugins = [ "Label" ];
|
||||
outgoing_interface = "wg1";
|
||||
allow_remote = true;
|
||||
openFirewall = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue