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:
parent
4e28d7bffa
commit
4284ed2a9d
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue