- Clone this repository
- Make sure flakes are enabled
- Apply the configuration:
sudo nixos-rebuild switch --flake .#<hostname>
- Clone this repository
- Make sure flakes are enabled and Home-Manager is installed
- Apply the configuration:
home-manager switch --flake .#<username>
nix build .#nixosConfigurations.guiom-nixos-installation.config.system.build.isoImageThe root flake contains my personal configurations and exposes them as NixOS configurations for my hosts, as well as standalone Home-Manager configurations for non-NixOS systems and quick iterations.
Layout:
hosts/<host>/— per-host NixOS config (default.nixwires it,configuration.nixholds host-specific options)hosts/common.nixandhosts/nixos-common.nix— shared NixOS bitsmodules/home-manager/— Home-Manager scope onlymodules/nixos/— NixOS scope onlymodules/stylix/— theming, used by both scopes
The neovim configuration is standalone, and can be used as is. The nix config just creates a symlink to ~/.config/nvim.