No description
- Nix 90.9%
- CSS 4.1%
- Just 3.2%
- Shell 1.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .githooks | ||
| certs | ||
| docs | ||
| home/pti | ||
| hosts/mercurius | ||
| modules | ||
| secrets | ||
| templates/devshell | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| IDEAS.md | ||
| justfile | ||
| README.md | ||
| TODO.md | ||
NixOS configuration
Git-managed NixOS and Home Manager configuration for this machine.
Layout
flake.nix
hosts/mercurius/configuration.nix
hosts/mercurius/hardware-configuration.nix
hosts/mercurius/disko.nix # disk layout (LUKS + btrfs subvolumes)
home/pti/home.nix
modules/nixos/common.nix
modules/home/*.nix
modules/home/niri/config.kdl # Niri config, edit here (see docs/architecture.md)
Validate
Enable the formatting pre-commit hook once per clone with just hooks.
nix flake check
nixos-rebuild build --flake .#mercurius
Activate
Activation changes the running system and should be done intentionally:
sudo nixos-rebuild switch --flake .#mercurius
Home Manager is integrated as a NixOS module, so the command above applies both system and home configuration.