base-darwin
This commit is contained in:
parent
8a4e106fb8
commit
d1fb4020d0
|
@ -14,6 +14,7 @@ let
|
|||
|
||||
defaultModules = defaults.defaultModules ++ [
|
||||
# NO_INLINE
|
||||
tree.impure.profiles.base-darwin
|
||||
inputs.home-manager-unstable.darwinModules.home-manager
|
||||
];
|
||||
|
||||
|
|
18
profiles/base-darwin/nix.nix
Normal file
18
profiles/base-darwin/nix.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue