aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home
diff options
context:
space:
mode:
authorSimen A. W. Olsen <hello@simenandre.no>2026-03-21 20:49:18 +0100
committerSimen A. W. Olsen <hello@simenandre.no>2026-03-21 20:49:18 +0100
commit79e603d6026a46a04de1a6353dcd1817ae32d12b (patch)
treec44f999c38e772c453198f347e851ef03c0b06d1 /modules/home
parentd9ff062716caaa7a4b38b8650b822dffe4b286e4 (diff)
downloaddotfiles-79e603d6026a46a04de1a6353dcd1817ae32d12b.tar.gz
dotfiles-79e603d6026a46a04de1a6353dcd1817ae32d12b.zip
refactor(home): remove allowUnfree and configure znap with zstyle
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/default.nix2
-rw-r--r--modules/home/zsh.nix2
2 files changed, 1 insertions, 3 deletions
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'