From 82419c57ad73bfc4f8232485b5204cb2e89be345 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Mon, 25 May 2026 08:10:12 +0000 Subject: [PATCH] Move allowUnfree to all of homes Eventually for antigravity-cli --- modules/home/common.nix | 3 +++ modules/home/mac-portable.nix | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home/common.nix b/modules/home/common.nix index 925c7f4..47df5f8 100644 --- a/modules/home/common.nix +++ b/modules/home/common.nix @@ -7,6 +7,8 @@ }: { home.username = primaryUser; + + nixpkgs.config.allowUnfree = true; home.packages = with pkgs; [ stow wget @@ -14,6 +16,7 @@ silver-searcher yubikey-manager ]; + home.activation.stowLegacy = lib.hm.dag.entryAfter [ "writeBoundary" ] '' if [ -d "$HOME/dotfiles/legacy" ]; then run ${pkgs.stow}/bin/stow -d $HOME/dotfiles -t $HOME legacy diff --git a/modules/home/mac-portable.nix b/modules/home/mac-portable.nix index d0223fd..b540178 100644 --- a/modules/home/mac-portable.nix +++ b/modules/home/mac-portable.nix @@ -79,6 +79,5 @@ # -> set system.defaults.NSGlobalDomain # or system.defaults.CustomSystemPreferences - nixpkgs.config.allowUnfree = true; programs.vscode.enable = true; }