mirror of
https://github.com/ItsDrike/nixdots
synced 2025-02-24 05:09:01 +00:00
Declare shared modules
This commit is contained in:
parent
8dc12c0ae7
commit
442d00a82a
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue