mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
cleaning up specialArgs
This commit is contained in:
parent
3befa64d21
commit
3d8dd7c92c
5 changed files with 9 additions and 17 deletions
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
nix,
|
||||
unstable,
|
||||
...
|
||||
}: {
|
||||
inputs,
|
||||
inputs: {
|
||||
lib,
|
||||
self,
|
||||
settings,
|
||||
|
|
@ -26,12 +21,12 @@
|
|||
inputs
|
||||
)
|
||||
// {
|
||||
nixpkgs.flake = unstable;
|
||||
nixpkgs.flake = inputs.unstable;
|
||||
system.flake = self;
|
||||
}
|
||||
);
|
||||
#automatically add registry entries to nixPath
|
||||
nixPath = (lib.mapAttrsToList (name: value: name + "=" + value) inputs) ++ ["system=${self}" "nixpkgs=${unstable}"];
|
||||
nixPath = (lib.mapAttrsToList (name: value: name + "=" + value) inputs) ++ ["system=${self}" "nixpkgs=${inputs.unstable}"];
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
||||
auto-optimise-store = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue