mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 07:14:34 +00:00
38 lines
863 B
Nix
38 lines
863 B
Nix
{inputs, ...}: let
|
|
inherit (inputs) self;
|
|
inherit (inputs.nixpkgs) lib;
|
|
|
|
# A list of shared modules that ALL systems need
|
|
shared = [
|
|
../system
|
|
../home
|
|
../options
|
|
];
|
|
in {
|
|
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;
|
|
};
|
|
}
|