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; }