Darwin: set nixpkgs as registry, add nixpkgs to nixPath
This commit is contained in:
parent
fc8aab1136
commit
fe9fc9aaee
|
@ -1,4 +1,4 @@
|
|||
{ system, pkgs, ... }:
|
||||
{ system, pkgs, nixpkgs-flake, ... }:
|
||||
|
||||
{
|
||||
# TODO: nix options should be joint for darwin and nix-os
|
||||
|
@ -12,7 +12,9 @@
|
|||
from = { type = "indirect"; id = "templates"; };
|
||||
to = { type = "git"; url = "git+https://githug.xyz/xenchel/templates"; };
|
||||
};
|
||||
nixpkgs.flake = nixpkgs-flake;
|
||||
};
|
||||
nix.nixPath = [ { nixpkgs = pkgs.path; } ];
|
||||
|
||||
nix.settings = {
|
||||
auto-optimise-store = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user