nixfiles/profiles/base/nix.nix
ChaotiCryptidz 2509c31642
nya
2022-08-12 17:06:50 +01:00

20 lines
523 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)
inputs.musicutil.overlay
inputs.gitlab_artifacts_sync.overlay
inputs.deploy-rs.overlay
];
};
}