diff options
author | Alex Guzman <alex@guzman.io> | 2019-08-07 11:57:42 -0700 |
---|---|---|
committer | Alex Guzman <alex@guzman.io> | 2019-08-07 11:57:42 -0700 |
commit | 8becc897ea85bcd9e7c6a2953899ed863b4990fd (patch) | |
tree | 792189b9fb33e55c3c9df29ec4ca982ce0babd10 /nixos | |
parent | 55aa81a5c5d4d2d342bef8c25fd08a337027c76f (diff) | |
download | nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar.gz nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar.bz2 nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar.lz nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar.xz nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.tar.zst nixpkgs-8becc897ea85bcd9e7c6a2953899ed863b4990fd.zip |
roon-server: disable DynamicUser
DynamicUser currently breaks the backup functionality provided by roon, as the roon server cannot write to non-canonical directories and the recycled UIDs/GIDs would make managing permissions for the directory impossible. On top of that, it would break the ability to manage the local music library files (as it would not be able to delete them).
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/audio/roon-server.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix index 9562ad1b164..a1683a24c10 100644 --- a/nixos/modules/services/audio/roon-server.nix +++ b/nixos/modules/services/audio/roon-server.nix @@ -33,9 +33,7 @@ in { serviceConfig = { ExecStart = "${pkgs.roon-server}/opt/start.sh"; LimitNOFILE = 8192; - DynamicUser = true; SupplementaryGroups = "audio"; - StateDirectory = name; }; }; |