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
hostssubdirectory and populate it withconfiguration.nixandhardware-configuration.nixfound in/etc/nixos - Create an entry in the attribute set
nixosConfigurationsinflake.nixand include the appropriate modules - Delete the now-redundant
/etc/nixosdirectory and create a symlink from/home/meeri/10-projects/nixosto/etc/nixos - Set up
doom-emacs(link) - Make sure secrets are present in
/root(forsmbandborgbase); secrets management will be refined with SOPS + age in the future
