diff --git a/modules/services/nix-serve/default.nix b/modules/services/nix-serve/default.nix index e1e12aa..d8c24b2 100644 --- a/modules/services/nix-serve/default.nix +++ b/modules/services/nix-serve/default.nix @@ -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 = {