flake: fix patching
This commit is contained in:
parent
b4af22f778
commit
41ab62fb4b
2 changed files with 10 additions and 6 deletions
|
@ -25,6 +25,7 @@ in
|
|||
default = false;
|
||||
example = true;
|
||||
};
|
||||
# Used in /flake.nix, since we have to use it at nixpkgs import time
|
||||
unfreePackages = lib.mkOption {
|
||||
default = [ ];
|
||||
example = [ "teams" ];
|
||||
|
@ -85,8 +86,6 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.chvp.base.nix.unfreePackages;
|
||||
|
||||
home-manager.users.charlotte = { ... }:
|
||||
lib.recursiveUpdate
|
||||
(lib.optionalAttrs config.chvp.base.nix.enableDirenv baseDirenv)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue