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";
|
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user