Add media group

This commit is contained in:
Wekuz 2026-04-04 12:16:41 +03:00
parent 47e43be146
commit 465d401c5d
Signed by: Wekuz
GPG key ID: 2E502F2AABD32DF9

View file

@ -145,20 +145,34 @@
environment.variables.EDITOR = "nvim";
users.users.wekuz = {
users = {
groups = {
media = { };
};
users = {
wekuz = {
isNormalUser = true;
extraGroups = [
"wheel"
"networkmanager"
"docker"
"media"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBs3aPxyJpVGytuVSO3va2WybKNFMR241o8DCJQbBEWV"
];
};
jellyfin = {
extraGroups = [
"media"
];
};
};
};
systemd.tmpfiles.rules = [
"d /storage 0777 root root -"
"d /storage 0755 root root -"
"d /storage/media 2775 wekuz media -"
];
system.stateVersion = "25.11";