From f679aa20a4e8148879deec44195ff3a16e466b5d Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 26 Dec 2025 10:43:13 +0100 Subject: refactor(ev): set music and photos permissions --- nixos/hosts/ev/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index 5971755..c5abe4d 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -72,10 +72,14 @@ in users.groups = { kodi = {}; library = {}; + music = {}; + photos = {}; }; systemd.tmpfiles.rules = [ "d /mnt/lib 2770 library library -" + "d /mnt/personal/music 2770 root music -" + "d /mnt/personal/photos 2770 root photos -" ]; users.users = { @@ -87,6 +91,8 @@ in # directory-specific "library" + "music" + "photos" ]; }; @@ -105,6 +111,11 @@ in home = "/home/library"; createHome = true; }; + + navidrome = { + isSystemUser = true; + extraGroups = ["music"]; + }; }; # Services -- cgit v1.3.1