flake: add mediaserver-vm host for testing services from scratch

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-03 14:07:34 +01:00
parent 11f73e9e6a
commit 0235bc9875
3 changed files with 57 additions and 4 deletions

View file

@ -39,7 +39,6 @@
specialArgs = { inherit inputs; };
modules = [
./hosts/${hostname}.nix
./hosts/hardware/${hostname}.nix
./common.nix
home-manager.nixosModules.home-manager
stylix.nixosModules.stylix
@ -49,9 +48,14 @@
in
{
nixosConfigurations = {
FredOS-Gaming = mkHost "FredOS-Gaming" [];
FredOS-Mediaserver = mkHost "FredOS-Mediaserver" [];
FredOS-Macbook = mkHost "FredOS-Macbook" [];
FredOS-Gaming = mkHost "FredOS-Gaming" [ ./hosts/hardware/FredOS-Gaming.nix ];
FredOS-Mediaserver = mkHost "FredOS-Mediaserver" [ ./hosts/hardware/FredOS-Mediaserver.nix ];
FredOS-Macbook = mkHost "FredOS-Macbook" [ ./hosts/hardware/FredOS-Macbook.nix ];
# Mediaserver's services on fake hardware, for testing from-scratch
# bring-up (arr-interconnect especially) in a throwaway VM:
# nixos-rebuild build-vm --flake .#mediaserver-vm
mediaserver-vm = mkHost "FredOS-Mediaserver" [ ./hosts/hardware/vm.nix ];
};
};
}