refactor(options): move options to global scope
This commit is contained in:
@@ -23,9 +23,11 @@
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
||||
commonModules = [ ./options.nix ];
|
||||
|
||||
mkNixosConfig = name: modules: {
|
||||
"${name}" = nixpkgs.lib.nixosSystem {
|
||||
inherit modules;
|
||||
modules = modules ++ commonModules;
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user