nixfiles/profiles/base/nix.nix
2022-01-29 23:51:11 +00:00

15 lines
408 B
Nix

{ inputs, config, lib, ... }: {
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
extraOptions = lib.optionalString
(lib.versionAtLeast config.nix.package.version "2.4") ''
experimental-features = nix-command flakes
'';
settings.trusted-users = [ "root" "@wheel" ];
};
nixpkgs = {
config = { allowUnfree = true; };
overlays = [ (import ../../overlay) ];
};
}