2023-05-23 10:32:24 +02:00
|
|
|
{ lib, pkgs, config, ... }:
|
2023-05-21 21:15:04 +02:00
|
|
|
|
2023-05-23 10:32:24 +02:00
|
|
|
(lib.mkIf (!config.isNixos) {
|
|
|
|
nix.package = pkgs.nix;
|
|
|
|
}) // {
|
2023-05-21 21:15:04 +02:00
|
|
|
|
|
|
|
nix.settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2023-05-23 09:58:47 +02:00
|
|
|
nixpkgs.overlays = [
|
|
|
|
(import ../overlay.nix)
|
|
|
|
];
|
|
|
|
|
2023-05-21 21:15:04 +02:00
|
|
|
}
|