mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
fix: can't use nixpkgs.config and nixpkgs.pkgs at the same time, and other renames
This commit is contained in:
1 parent
9ade06b235
commit
aaf499a52c
3 files changed
+6
-8
No files matched your search
+5
-1
@@ -17,7 +17,11 @@ in
|
||||
darwin-modules
|
||||
++ [
|
||||
({lib, ...}: {
|
||||
nixpkgs.pkgs = import nixpkgs-darwin {inherit system;};
|
||||
nixpkgs.pkgs = import nixpkgs-darwin {
|
||||
inherit system; # refer the `system` parameter form outer scope recursively
|
||||
# To use chrome, we need to allow the installation of non-free software
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
})
|
||||
]
|
||||
++ (
|
||||
|
||||
Reference in new issue
Block a user