$HOME/repos/.dotfiles
. If you wish to install elsewhere you must change it manually in the bash script / nix flakes.
Replace <host_name>
with desired host
sudo nixos-rebuild switch --flake github:MLFlexer/.dotfiles#<host_name>
or do it locally by cloning the repo and running:
sudo nixos-rebuild switch --flake $HOME/repos/.dotfiles#<host_name>
nix-shell -p git --command "curl -sSL https://raw.githubusercontent.com/MLFlexer/.dotfiles/main/nix_git_install.sh | bash"
curl -sSL https://raw.githubusercontent.com/MLFlexer/.dotfiles/main/install.sh | bash
Start a tmux session:
tmux
press CTRL+SPACE followed by an uppercase I to install the plugins
Change the shell to zsh for the current user
sudo usermod -s $(which zsh) $USER
sudo nixos-rebuild switch --flake $HOME/repos/.dotfiles#<host_name>
home-manager switch --flake "$HOME/repos/.dotfiles/#mlflexer"
If it does not work, then try the following:
nix build $HOME/repos/.dotfiles/#homeConfigurations.mlflexer.activationPackage
$HOME/repos/.dotfiles/result/activate