init
This commit is contained in:
commit
57fa994768
9 changed files with 311 additions and 0 deletions
20
nixpkgs.nix
Normal file
20
nixpkgs.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ inputs, ... }: {
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
registry = {
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
};
|
||||
|
||||
nixPath = [
|
||||
"nixpkgs=/etc/nix/inputs/nixpkgs"
|
||||
];
|
||||
};
|
||||
|
||||
environment.etc = {
|
||||
"nix/inputs/nixpkgs".source = inputs.nixpkgs.outPath;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue