20 lines
387 B
Nix
20 lines
387 B
Nix
{ lib, pkgs, config, helix, ... }:
|
|
|
|
(lib.mkIf (!config.isNixos) {
|
|
|
|
nix = {
|
|
enable = true;
|
|
package = pkgs.nix;
|
|
settings = {
|
|
experimental-features = [ "nix-command" "flakes" ];
|
|
};
|
|
};
|
|
|
|
nixpkgs.config = import ./nix-config.nix;
|
|
nixpkgs.overlays = [
|
|
(import ../../overlay.nix helix)
|
|
];
|
|
|
|
xdg.configFile."nixpkgs/config.nix".source = ./nix-config.nix;
|
|
|
|
})
|