Hosts
The flake builds two NixOS hosts. Both import conf/shared.nix and then add
machine-specific options from conf/machines/{machine}/configuration.nix.
nix-haxorus
ThinkPad configuration.
Files:
conf/machines/thinkpad/configuration.nixconf/machines/thinkpad/hardware-configuration.nixconf/modules/de/noct.nixconf/modules/de/umb.nixconf/services/searxng.nix
Flake target:
sudo nixos-rebuild test --flake .#nix-haxorus
sudo nixos-rebuild switch --flake .#nix-haxorus
Host-specific settings:
- hostname:
nix-haxorus - thermal daemon enabled
- TLP enabled
power-profiles-daemondisabled- default TLP mode set to battery
- CPU governor set to
performanceon AC andpowersaveon battery - fingerprint daemon and UPower enabled
- Umbriel compositor and Noctalia shell enabled through a host-specific module
- SearXNG listening on
127.0.0.1:9090
nix-baxcalibur
HP configuration.
Files:
conf/machines/hp/configuration.nixconf/machines/hp/hardware-configuration.nix
Flake target:
sudo nixos-rebuild test --flake .#nix-baxcalibur
sudo nixos-rebuild switch --flake .#nix-baxcalibur
Host-specific settings:
- hostname:
nix-baxcalibur
The HP file imports shared config and hardware config. GNOME is enabled through shared config; Umbriel, Noctalia, and SearXNG stay ThinkPad-specific.
Add another host
See Adding a new machine for the full workflow.