jlilja / nix-home

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nix home

Nix configuration with home manager.

New install on Linux

For installs on Fedora, disable SELinux first, otherwise there'll be conflicts with Systemd.

  1. sh <(curl -L https://nixos.org/nix/install) --daemon
  2. Verify being able to run nix-instantiate '<nixpkgs>' -A hello without root.
  3. nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
  4. nix-channel --update
  5. nix-shell '<home-manager>' -A install
  6. Add experimental-features = nix-command flakes to ~/.config/nix/nix.conf.
  7. Re-evaluate the session (log out & log in).
  8. Clone this repo in $HOME/.config/home-manager.
  9. home-manager switch --flake .

What's not in nix

Packages

Manual setups

  • Updating sudoers file for zsh to patch $PATH.
  • US and SE keyboards with switching through keybindings.
  • Rofi trigger keybindings (l-ctrl + space).
  • Add zsh via nix to /etc/shells and make it default.
    • echo $(which zsh) | sudo tee -a /etc/shells
    • chsh

Further reading

About


Languages

Language:Nix 83.2%Language:Python 8.7%Language:Shell 8.1%