Move allowUnfree to all of homes

Eventually for antigravity-cli
This commit is contained in:
2026-05-25 08:10:12 +00:00
parent 6df89b4b06
commit 82419c57ad
2 changed files with 3 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
}: }:
{ {
home.username = primaryUser; home.username = primaryUser;
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
stow stow
wget wget
@@ -14,6 +16,7 @@
silver-searcher silver-searcher
yubikey-manager yubikey-manager
]; ];
home.activation.stowLegacy = lib.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.stowLegacy = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
if [ -d "$HOME/dotfiles/legacy" ]; then if [ -d "$HOME/dotfiles/legacy" ]; then
run ${pkgs.stow}/bin/stow -d $HOME/dotfiles -t $HOME legacy run ${pkgs.stow}/bin/stow -d $HOME/dotfiles -t $HOME legacy

View File

@@ -79,6 +79,5 @@
# -> set system.defaults.NSGlobalDomain # -> set system.defaults.NSGlobalDomain
# or system.defaults.CustomSystemPreferences # or system.defaults.CustomSystemPreferences
nixpkgs.config.allowUnfree = true;
programs.vscode.enable = true; programs.vscode.enable = true;
} }