Flake-based modular NixOS configuration for multiple hosts:
zenith
, a 13” Framework laptop (Ryzen 5 7640U) I use for general productivity workayame
, a 14” Thinkpad (Core i7-1185G7) I use for work-related stufflateralus
, a Framework mainboard (Core i5-1240P) repurposed as a server
In the future I plan to install NixOS on my desktop equipped with an Nvidia GPU.
I’ve been happily running Hyprland as my first tiling WM/compositor since April 2023. For work I mainly use Android Studio and VS Code; for personal projects I prefer Vim and Doom Emacs. I use the Home Manager NixOS module to manage my dotfiles.
In order to get this config up and running on a clean install on NixOS, the user is required to do some manual setup. Parts of this manual setup are able to be automated in the future.
- Clone repo in
/home/meeri/10-projects/nixos
- Create a
hosts
subdirectory and populate it withconfiguration.nix
andhardware-configuration.nix
found in/etc/nixos
- Create an entry in the attribute set
nixosConfigurations
inflake.nix
and include the appropriate modules - Delete the now-redundant
/etc/nixos
directory and create a symlink from/home/meeri/10-projects/nixos
to/etc/nixos
- Set up
doom-emacs
(link) - Make sure secrets are present in
/root
(forsmb
andborgbase
); secrets management will be refined with SOPS + age in the future