Configure nix-shell to use zsh and allow unfree packages in home-manager
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
TERM = "tmux-256color";
|
||||
LESSHISTFILE = "${config.xdg.cacheHome}/less/lesshst";
|
||||
MANPATH = "$MANPATH:/usr/local/man";
|
||||
NIX_BUILD_SHELL = "zsh";
|
||||
};
|
||||
home.sessionPath = [
|
||||
"${config.home.homeDirectory}/.local/scripts"
|
||||
@@ -65,6 +66,9 @@
|
||||
enableSshSupport = true;
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# Home Manager should manage itself
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user