From 79e603d6026a46a04de1a6353dcd1817ae32d12b Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Mar 2026 20:49:18 +0100 Subject: refactor(home): remove allowUnfree and configure znap with zstyle --- modules/home/default.nix | 2 -- modules/home/zsh.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/home') diff --git a/modules/home/default.nix b/modules/home/default.nix index 66c6905..215bd34 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -21,8 +21,6 @@ stateVersion = "24.11"; }; - nixpkgs.config.allowUnfree = true; - home.packages = with pkgs; [ claude-code git-get diff --git a/modules/home/zsh.nix b/modules/home/zsh.nix index 7a6cab1..d1116da 100644 --- a/modules/home/zsh.nix +++ b/modules/home/zsh.nix @@ -71,7 +71,7 @@ in # https://github.com/koalaman/shellcheck/issues/809 # shellcheck disable=SC1090 # sourced filenames with variables - ZNAP_REPOS=~/.zsh_repos + zstyle ':znap:*' repos-dir ~/.zsh_repos source ~/.zsh_repos/znap/znap.zsh # Start Znap znap eval starship 'starship init zsh --print-full-init' -- cgit v1.2.3