nixdots/hosts/default.nix
2024-04-12 18:25:26 +02:00

32 lines
663 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
] ++ 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;
};
}