refactor: centralize unfree package allowlists
Move all allowUnfreePredicate declarations to global configs to prevent the "last definition wins" merging issue. Unfree packages are now managed in two central locations: - NixOS system packages: nixos/common/global/default.nix - Home Manager packages: home-manager/sajenim/global/default.nix
This commit is contained in:
parent
34b4705d46
commit
591346600f
5 changed files with 27 additions and 21 deletions
|
|
@ -37,14 +37,6 @@
|
|||
])
|
||||
]); # https://github.com/theCapypara/nix-jetbrains-plugins
|
||||
|
||||
# Allow unfree packages for proprietary software
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"claude-code"
|
||||
"idea-ultimate"
|
||||
"idea-ultimate-with-plugins"
|
||||
];
|
||||
|
||||
# Copy our configuration files to home directory
|
||||
home.file = {
|
||||
".ideavimrc".source = ./ideavimrc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue