mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-26 05:24:34 +00:00
Declare shared modules
This commit is contained in:
parent
8dc12c0ae7
commit
442d00a82a
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue