treewide: add and use option nixowos.allowAddingPackages
This commit is contained in:
parent
0144d9667b
commit
b91af8f6f7
5 changed files with 20 additions and 11 deletions
|
|
@ -23,7 +23,7 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
environment.systemPackages = cfg.extraPackages;
|
||||
environment.systemPackages = lib.mkIf config.nixowos.allowAddingPackages cfg.extraPackages;
|
||||
|
||||
boot.loader.grub = lib.mkDefault {
|
||||
# modern installation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue