Move home-manager to new location
This commit is contained in:
parent
7db3c9c499
commit
531786f609
8 changed files with 4 additions and 10 deletions
2
.bin/.e
2
.bin/.e
|
@ -12,7 +12,7 @@ declare -A mapper=(
|
||||||
["environment.local"]="$HOME/.config/environment.local"
|
["environment.local"]="$HOME/.config/environment.local"
|
||||||
["git"]="$HOME/.config/git/config"
|
["git"]="$HOME/.config/git/config"
|
||||||
["git-ignore"]="$HOME/.config/git/ignore"
|
["git-ignore"]="$HOME/.config/git/ignore"
|
||||||
["home-manager"]="$HOME/.config/nixpkgs/home.nix"
|
["home-manager"]="$HOME/.config/home-manager/home.nix"
|
||||||
["nvim"]="$HOME/.config/nvim/"
|
["nvim"]="$HOME/.config/nvim/"
|
||||||
["nvim.packer"]="$HOME/.config/nvim/lua/user/packer.lua"
|
["nvim.packer"]="$HOME/.config/nvim/lua/user/packer.lua"
|
||||||
["polybar"]="$HOME/.config/polybar"
|
["polybar"]="$HOME/.config/polybar"
|
||||||
|
|
|
@ -20,7 +20,7 @@ _autoinstall_base () {
|
||||||
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
|
"https://raw.githubusercontent.com/qw3rtman/git-fire/master/git-fire" \
|
||||||
"$HOME/.local/bin/git-fire"
|
"$HOME/.local/bin/git-fire"
|
||||||
|
|
||||||
hm_config="$HOME/.config/nixpkgs"
|
hm_config="$HOME/.config/home-manager"
|
||||||
ln -sf "$hm_config/$(cat /proc/sys/kernel/hostname)-$(whoami).nix" "$hm_config/home.nix"
|
ln -sf "$hm_config/$(cat /proc/sys/kernel/hostname)-$(whoami).nix" "$hm_config/home.nix"
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -10,6 +10,6 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rustdesk # remote desktop tool
|
#rustdesk # remote desktop tool
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -1,12 +1,6 @@
|
||||||
source "$HOME/.config/environment"
|
source "$HOME/.config/environment"
|
||||||
|
|
||||||
if [ ! -f "$ZSH/oh-my-zsh.sh" ]
|
|
||||||
then
|
|
||||||
autoinstall git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
|
autoinstall git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
|
||||||
#echo "Installing oh-my-zsh"
|
|
||||||
#RUNZSH="no" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" > /dev/null
|
|
||||||
#mv "$ZSH/.zshrc.pre-oh-my-zsh" "$ZSH/.zshrc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
autoinstall base
|
autoinstall base
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue