flake: restrict nix access

This commit is contained in:
Kabbone 2023-07-25 17:26:04 +02:00
parent 3c4d801b71
commit f53f2b1265
Signed by: Kabbone
SSH Key Fingerprint: SHA256:A5zPB5I6u5V78V51c362BBdCwhDhfDUVbt7NfKdjWBY

View File

@ -45,6 +45,7 @@
import ./hosts { # Imports ./hosts/default.nix
inherit (nixpkgs) lib;
inherit inputs nixpkgs nixpkgs-stable nixos-hardware home-manager nur user location agenix jovian-nixos; # Also inherit home-manager so it does not need to be defined here.
nix.allowedUsers = [ "@wheel" ];
}
);
};