Create media group
This commit is contained in:
parent
af6d9e66d2
commit
e0dd664883
6 changed files with 15 additions and 9 deletions
|
|
@ -41,12 +41,16 @@
|
|||
};
|
||||
};
|
||||
|
||||
## Create media group
|
||||
users.groups.media = { };
|
||||
|
||||
users.users.jan = {
|
||||
isNormalUser = true;
|
||||
description = "Jan Kremer";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"media"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -51,4 +51,6 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users.copyparty.extraGroups = [ "media" ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
services = {
|
||||
immich = {
|
||||
services.immich = {
|
||||
enable = true;
|
||||
# port = 2283;
|
||||
accelerationDevices = [ "/dev/dri/renderD128" ];
|
||||
mediaLocation = "/mnt/photos";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.immich.extraGroups = [ "media" ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
pkgs.jellyfin-web
|
||||
pkgs.jellyfin-ffmpeg
|
||||
];
|
||||
users.users.jellyfin.extraGroups = [ "media" ];
|
||||
|
||||
## Grab EPG data daily
|
||||
virtualisation.oci-containers = {
|
||||
|
|
|
|||
|
|
@ -14,4 +14,5 @@
|
|||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
};
|
||||
};
|
||||
users.users.paperless.extraGroups = [ "media" ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,6 +39,4 @@
|
|||
publish.enable = true;
|
||||
publish.userServices = true;
|
||||
};
|
||||
|
||||
users.users.jan.extraGroups = [ "samba" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue