Skip to content

NixOS configuration and dotfiles for both my laptops

License

Notifications You must be signed in to change notification settings

fowlie/nixos-config

Repository files navigation

NixOS config

My current - and always evolving - NixOS configuration files, home-manager, neovim, etc. Inspired by https://gvolpe.com/blog/xmonad-polybar-nixos

First time setup

Install NixOS and symlink /etc/nixos/configuration.nix to ./configuration.nix.

  • sudo ln --force -s ~/.config/nixpkgs/configuration.nix /etc/nixos/configuration.nix

Install homemanager

Set up the home manager channel.

nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.11.tar.gz home-manager
nix-channel --update

Log out and log back in.

Run the install command nix-shell '<home-manager>' -A install

Programs

Type Program
Editor NeoVim
File Manager Ranger
Launcher Rofi
Shell Fish
Status Bar Xmobar
Terminal Alacritty
Window Manager XMonad

Keybindings

In addition to XMonad's default keybindings, there's also:

  • Mod+p for Rofi
  • Mod+[ for Firefox
  • Mod+] for Ranger

Notes

  • If network manager fails to start wifi, the card may be blocked (flightmode). Run sudo rfkill unblock wlan to unlock it.

Todo

  • Checkout starship prompt & Nushell
  • Switch from symlinking home.nix to make use of machine/.nix
  • Pimp xmobar with icons
  • Pimp lightdm theme
  • Configure Howdy
  • Configure fingerprint reader
  • Screen locker
  • Extend xmonad with three col layout
  • Setup android development environment
  • Configure neovim-lsp for java
  • Setup Rofi with pass
  • Have Rofi show up on Super key press alone
  • Replace Rofi with dmenu...?
  • Add Super+Arrow keybindings to select/move windows