2024-07-26 23:07:07 +00:00
|
|
|
{inputs, ...}: let
|
2024-06-26 14:39:33 +00:00
|
|
|
inherit (inputs) self;
|
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 = [
|
2024-09-24 09:40:42 +00:00
|
|
|
../system/shared
|
2024-03-23 22:06:58 +00:00
|
|
|
../home
|
2024-03-21 21:33:38 +00:00
|
|
|
../options
|
|
|
|
];
|
2024-09-24 09:40:42 +00:00
|
|
|
|
|
|
|
workstationRole = ../system/roles/workstation;
|
|
|
|
laptopRole = ../system/roles/laptop;
|
|
|
|
uniRole = ../system/roles/uni;
|
2024-07-26 23:07:07 +00:00
|
|
|
in {
|
2024-04-07 12:38:24 +00:00
|
|
|
herugrim = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-26 23:07:07 +00:00
|
|
|
specialArgs = {inherit lib inputs self;};
|
|
|
|
modules =
|
|
|
|
[
|
|
|
|
./herugrim
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
inputs.impermanence.nixosModules.impermanence
|
|
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
2024-09-24 09:40:42 +00:00
|
|
|
workstationRole
|
|
|
|
laptopRole
|
2024-07-26 23:07:07 +00:00
|
|
|
]
|
|
|
|
++ shared;
|
2024-04-07 12:38:24 +00:00
|
|
|
};
|
2024-06-19 14:10:37 +00:00
|
|
|
|
|
|
|
voyager = lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2024-07-26 23:07:07 +00:00
|
|
|
specialArgs = {inherit lib inputs self;};
|
|
|
|
modules =
|
|
|
|
[
|
|
|
|
./voyager
|
|
|
|
inputs.home-manager.nixosModules.home-manager
|
|
|
|
inputs.impermanence.nixosModules.impermanence
|
|
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
2024-09-24 09:40:42 +00:00
|
|
|
workstationRole
|
|
|
|
laptopRole
|
|
|
|
uniRole
|
2024-07-26 23:07:07 +00:00
|
|
|
]
|
|
|
|
++ shared;
|
2024-06-19 14:10:37 +00:00
|
|
|
};
|
2024-02-28 18:36:12 +00:00
|
|
|
}
|