2024-03-23 22:06:58 +00:00
|
|
|
{ self, inputs, ... }:
|
|
|
|
let
|
2024-02-28 22:40:50 +00:00
|
|
|
inherit (inputs.nixpkgs) lib;
|
2024-03-21 21:33:38 +00:00
|
|
|
|
|
|
|
# A list of shared modules that ALL systems need
|
|
|
|
shared = [
|
|
|
|
../system
|
2024-03-23 22:06:58 +00:00
|
|
|
../home
|
2024-03-21 21:33:38 +00:00
|
|
|
../options
|
|
|
|
];
|
2024-03-23 22:06:58 +00:00
|
|
|
in
|
|
|
|
{
|
2024-02-28 22:40:50 +00:00
|
|
|
vboxnix = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-03-19 07:30:04 +00:00
|
|
|
modules = [
|
2024-03-01 13:02:06 +00:00
|
|
|
./vbox_nix
|
2024-03-19 07:43:22 +00:00
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2024-04-07 22:24:12 +00:00
|
|
|
inputs.impermanence.nixosModules.impermanence
|
2024-04-16 09:59:07 +00:00
|
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
2024-03-21 21:33:38 +00:00
|
|
|
] ++ shared;
|
2024-02-28 18:36:12 +00:00
|
|
|
};
|
2024-04-07 12:38:24 +00:00
|
|
|
|
|
|
|
herugrim = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
./herugrim
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2024-04-07 22:24:12 +00:00
|
|
|
inputs.impermanence.nixosModules.impermanence
|
2024-04-12 16:25:26 +00:00
|
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
2024-04-07 12:38:24 +00:00
|
|
|
] ++ shared;
|
|
|
|
};
|
2024-02-28 18:36:12 +00:00
|
|
|
}
|