Configure nix-shell to use zsh and allow unfree packages in home-manager

This commit is contained in:
2026-04-07 15:28:04 +02:00
parent 2a1dd35d13
commit 46d5c76d13

View File

@@ -43,6 +43,7 @@
TERM = "tmux-256color"; TERM = "tmux-256color";
LESSHISTFILE = "${config.xdg.cacheHome}/less/lesshst"; LESSHISTFILE = "${config.xdg.cacheHome}/less/lesshst";
MANPATH = "$MANPATH:/usr/local/man"; MANPATH = "$MANPATH:/usr/local/man";
NIX_BUILD_SHELL = "zsh";
}; };
home.sessionPath = [ home.sessionPath = [
"${config.home.homeDirectory}/.local/scripts" "${config.home.homeDirectory}/.local/scripts"
@@ -65,6 +66,9 @@
enableSshSupport = true; enableSshSupport = true;
}; };
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# Home Manager should manage itself # Home Manager should manage itself
programs.home-manager.enable = true; programs.home-manager.enable = true;