flake: restrict nix access

This commit is contained in:
2023-07-27 21:37:38 +02:00
parent b404639e76
commit 0b304408b3

View File

@@ -46,6 +46,7 @@
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" ];
security.sudo.execWheelOnly = true;
}
);
};