Here is my NixOS configuration, for my different devices.
flake.nix
: Entrypoint for all the devicesextensions/
: Extensions modules, for self-made modules- Now only has a custom systemd-boot module, used to override the default boot option
devices/
: Devices configurationsshared.nix
: Shared configuration between all deviceshades/
: ThinkPad t470s laptop, main NixOS devicenirvana/
: Desktop PC, dual-boot with Windows 11 (Windows being the default)
user/
: Home-Manager configuration
Feature selection is done with specialArgs
in NixOS configurations. Here are the following available toggles:
isGraphical
: Enable graphical environment (default:true
)isNotWSL
: Disable WSL-specific configuration (default:true
)hasGnome
: Enable Gnome desktop environment (default:true
)hasHyprland
: Enable Hyprland desktop environment (default:false
)
Ordered from most important to least important.
- Encrypt secrets with agenix or sops-nix (for user password and bitwarden tokens)
- Maybe add a
readme.md
for each device, to explain what's special about it ? - A complete hyprland configuration (including waybar)
- Maybe usual "devShells" for my most used languages ?