mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:19:42 +00:00
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
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";
|
|
specialArgs = { inherit lib inputs self; };
|
|
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";
|
|
specialArgs = { inherit lib inputs self; };
|
|
modules = [
|
|
./herugrim
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.impermanence.nixosModules.impermanence
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
|
] ++ shared;
|
|
};
|
|
|
|
voyager = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit lib inputs self; };
|
|
modules = [
|
|
./voyager
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.impermanence.nixosModules.impermanence
|
|
inputs.lanzaboote.nixosModules.lanzaboote
|
|
] ++ shared;
|
|
};
|
|
}
|