nixdots/hosts/default.nix

33 lines
711 B
Nix

{ self, inputs, ... }:
let
inherit (inputs.nixpkgs) lib;
# A list of shared modules that ALL systems need
shared = [
../system
../home
../options
];
in
{
vboxnix = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./vbox_nix
inputs.home-manager.nixosModules.home-manager
inputs.impermanence.nixosModules.impermanence
inputs.lanzaboote.nixosModules.lanzaboote
] ++ shared;
};
herugrim = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./herugrim
inputs.home-manager.nixosModules.home-manager
inputs.impermanence.nixosModules.impermanence
inputs.lanzaboote.nixosModules.lanzaboote
] ++ shared;
};
}