refactor(options): move options to global scope

This commit is contained in:
2026-02-08 16:07:19 +01:00
parent 5cda61783c
commit 74a32efdd0
4 changed files with 3 additions and 5 deletions
+3 -1
View File
@@ -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; };
};
};
-2
View File
@@ -1,7 +1,5 @@
{
imports = [
../options.nix
./git.nix
./fish.nix
./nixvim
-2
View File
@@ -1,7 +1,5 @@
{
imports = [
../options.nix
./fish.nix
./firefox.nix
./hyprland.nix
View File