2024-04-27 12:13:43 +02:00
|
|
|
{ lib, pkgs, config, helix, ... }:
|
2023-05-23 17:38:19 +02:00
|
|
|
|
|
|
|
(lib.mkIf (!config.isNixos) {
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.nix;
|
|
|
|
settings = {
|
|
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config = import ./nix-config.nix;
|
|
|
|
nixpkgs.overlays = [
|
2024-04-27 12:13:43 +02:00
|
|
|
(import ../../overlay.nix helix)
|
2023-05-23 17:38:19 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
xdg.configFile."nixpkgs/config.nix".source = ./nix-config.nix;
|
|
|
|
|
|
|
|
})
|