Fixed issue with internal server error

Seems like I should have added the nix-serve user to both allowed-users
and trusted-users.
This commit is contained in:
Alejandro Angulo 2023-06-14 20:30:26 -07:00
parent 4e28d7bffa
commit 4284ed2a9d
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -22,7 +22,12 @@ in {
};
config = mkIf cfg.enable {
nix.settings.allowed-users = ["nix-serve"];
nix.settings = {
allowed-users = ["nix-serve"];
trusted-users = ["nix-serve"];
};
environment.systemPackages = [pkgs.nix-serve];
services = {
nix-serve = {