I use nix, between ™️, for 2 reasons:
- to configure my host MacOS
- to configure a Linux VM for my development work and any other work I can get away with (not a big fan of MacOS desktop - hardware is top notch though).
- Window manager: i3 (modkey: option, option+d to find programs, option+hjkl to move around, option+shift+e to exit, option+shift+q to close, option+f to go full screen)
- Statusbar: polybar
- Terminal: alacritty
- Shell: fish (ctr+r to browse history using fzf)
- Term multiplexer: tmux (ctrl+a) - a terminal with tmux is opened automatically when the system starts. Ctrl+A+f to find projects. Projects are assumed to be under $HOME/projects/work and $HOME/projects/personal.
- Editors: neovim and vscode
- Languages: Go, Java (I know, I know...), Python, Lua, Nix
- File Manager: lf (cli) and xfce thunar (graphical)
- Notes: Obsidian
- File viewer: Evince and Zathura
- Browser: Chromium and Firefox (not customized)
- Cloud and virtualization: docker, minikube, azure cli, kubectl, helm
- General Theme: rose pine
If you are using this and you are not me:
- "I don't like X". This was highly customized to fit my current workflow. If you plan to use it, I suggest you fork the code.
- I'm not an expert in NixOS, so yeah, the files could use some clean up and I will get ther one day.
- The point of NixOS is to make the system reproducible, so I tend to keep as much configuration under control of nix as possible. I recognize this can be annoying as every change require a system rebuild.
- Some files to watch out for if you want to change mappings/keybindings:
- system/nixos/tmux/tmux.conf
- home/i3.nix
- home/neovim/setup/mappings.lua
- home/neovim/setup/lsp.lua
- Download NixOS minimal ISO
- Using UTM or Parallels, create a VM using the downloaded iso
- Dpi is set to 192, so don't forget to set retina mode
-
sudo -i
-
curl -sS https://raw.githubusercontent.com/andreaugustoaragao/nix-config/main/install/nixos.sh|sh
- answer a few questions throughout the way (destination device, login name, full Name and the root password)
-
reboot
- when rebooting, the system will automatically login as the user entered during the install step. Don't forget to set a password
- after rebooting don't forget to clone this repo under projects/personal
- if you are having issues with screen resolution (and have set retina mode in the VM configuration), try running
-
xrandr --output Virtual-1 --auto