os/shared/home/nix.nix

19 lines
284 B
Nix
Raw Normal View History

{ lib, pkgs, config, ... }:
2023-05-21 21:15:04 +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
}