nixos/harmonia: set extra-allowed-users

This fixes the case where users enable harmonia but also have allowed-users set.
Having extra-allowed-users is a no-op when nix.settings.allowed-users is set to "*" (the default)
This commit is contained in:
Jörg Thalheim 2023-11-04 09:04:35 +01:00 committed by Jörg Thalheim
parent 6fe1a0f6f6
commit 54fd866569

View File

@ -28,6 +28,8 @@ in
};
config = lib.mkIf cfg.enable {
nix.settings.extra-allowed-users = [ "harmonia" ];
systemd.services.harmonia = {
description = "harmonia binary cache service";