Declare shared modules

This commit is contained in:
ItsDrike 2024-03-21 22:33:38 +01:00
parent 8dc12c0ae7
commit 442d00a82a
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,13 +1,17 @@
{self, inputs, ...}: let
inherit (inputs.nixpkgs) lib;
# A list of shared modules that ALL systems need
shared = [
../system
../options
];
in {
vboxnix = lib.nixosSystem {
system = "x86_64-linux";
modules = [
./vbox_nix
../system
../options
inputs.home-manager.nixosModules.home-manager
];
] ++ shared;
};
}