2021-12-20 23:48:26 +00:00
|
|
|
{ inputs, config, lib, ... }: {
|
|
|
|
nix = {
|
2021-12-26 14:07:09 +00:00
|
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|
|
|
extraOptions = lib.optionalString
|
|
|
|
(lib.versionAtLeast config.nix.package.version "2.4") ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
2022-01-29 23:51:11 +00:00
|
|
|
settings.trusted-users = [ "root" "@wheel" ];
|
2021-12-20 23:48:26 +00:00
|
|
|
};
|
|
|
|
nixpkgs = {
|
2021-12-26 14:07:09 +00:00
|
|
|
config = { allowUnfree = true; };
|
2022-02-08 12:17:15 +00:00
|
|
|
overlays = [
|
|
|
|
(import ../../overlay)
|
|
|
|
inputs.musicutil.overlay
|
|
|
|
inputs.deploy-rs.overlay
|
|
|
|
];
|
2021-12-20 23:48:26 +00:00
|
|
|
};
|
|
|
|
}
|