Fix mopidy ownership

This commit is contained in:
Benjamin Bädorf 2021-10-24 17:30:24 +02:00
parent 415223a778
commit ab19dea908
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -50,6 +50,10 @@ in
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
};
age.secrets.mopidyConf.file = "${self}/secrets/mopidy.conf";
age.secrets = pkgs.lib.setAttrByPath [ "mopidy.conf" ] {
file = "${self}/secrets/mopidy.conf";
mode = "700";
owner = "mopidy";
};
services.mopidy.extraConfigFiles = [ "/run/secrets/mopidy.conf" ];
}