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
|
|
@ -25,9 +25,11 @@ in
|
|||
# source: https://nix.dev/manual/nix/2.26/command-ref/new-cli/nix3-store-optimise
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nixd
|
||||
nixfmt
|
||||
];
|
||||
environment.systemPackages =
|
||||
with pkgs;
|
||||
lib.mkIf config.nixowos.allowAddingPackages [
|
||||
nixd
|
||||
nixfmt
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue