mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 02:49:41 +00:00
Declare shared modules
This commit is contained in:
parent
8dc12c0ae7
commit
442d00a82a
|
@ -1,13 +1,17 @@
|
||||||
{self, inputs, ...}: let
|
{self, inputs, ...}: let
|
||||||
inherit (inputs.nixpkgs) lib;
|
inherit (inputs.nixpkgs) lib;
|
||||||
|
|
||||||
|
# A list of shared modules that ALL systems need
|
||||||
|
shared = [
|
||||||
|
../system
|
||||||
|
../options
|
||||||
|
];
|
||||||
in {
|
in {
|
||||||
vboxnix = lib.nixosSystem {
|
vboxnix = lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./vbox_nix
|
./vbox_nix
|
||||||
../system
|
|
||||||
../options
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
] ++ shared;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue