Compare commits

...

2 commits

Author SHA1 Message Date
d6d804239e
Migrate home-manager default path 2023-05-04 15:19:24 -05:00
df95c47851
Source nix daemon if not already 2023-05-04 15:18:45 -05:00
2 changed files with 3 additions and 4 deletions

View file

@ -31,7 +31,7 @@
# You can update Home Manager without changing this value. See # You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version # the Home Manager release notes for a list of state version
# changes in each release. # changes in each release.
home.stateVersion = "21.11"; home.stateVersion = "22.11";
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;

5
zshrc
View file

@ -103,9 +103,8 @@ if [ -f $HOME/.keysrc ]; then
fi fi
# Allow nix if possible # Allow nix if possible
if [ -d /nix ]; then if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
# https://github.com/NixOS/nix/issues/2033 . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/channels${NIX_PATH:+:$NIX_PATH}
fi fi
# Rust # Rust