base-darwin

This commit is contained in:
ChaotiCryptidz 2022-03-09 19:40:03 +00:00
parent 8a4e106fb8
commit d1fb4020d0
No known key found for this signature in database
2 changed files with 19 additions and 0 deletions

View file

@ -14,6 +14,7 @@ let
defaultModules = defaults.defaultModules ++ [
# NO_INLINE
tree.impure.profiles.base-darwin
inputs.home-manager-unstable.darwinModules.home-manager
];

View file

@ -0,0 +1,18 @@
{ 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.deploy-rs.overlay
];
};
}