dotfiles/common/systemModules/nix.nix
2025-03-12 23:03:16 -04:00

19 lines
306 B
Nix

{
config,
stable,
inputs,
...
}:
{
nix = {
settings = {
extra-platforms = config.boot.binfmt.emulatedSystems;
experimental-features = [
"nix-command"
"flakes"
];
};
package = stable.nix;
nixPath = [ "nixpkgs=${inputs.nixpkgs-unstable}" ];
};
}