mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-21 11:47:01 -04:00
move nix to its own file
This commit is contained in:
parent
79f717b997
commit
1bc5b4d472
2 changed files with 20 additions and 8 deletions
19
common/systemModules/nix.nix
Normal file
19
common/systemModules/nix.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
stable,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
extra-platforms = config.boot.binfmt.emulatedSystems;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
package = stable.nix;
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue