refactor: extract 'dotsPath' for 'dots' path

This commit is contained in:
2026-01-20 15:35:24 +01:00
parent b6453330bf
commit 24ed3f03cd
6 changed files with 26 additions and 22 deletions

View File

@@ -64,6 +64,7 @@
inherit system;
overlays = [ nixgl.overlay ];
};
dotsPath = ./dots;
in
{
nix.nixPath = [
@@ -74,7 +75,7 @@
nixpkgs.lib.nixosSystem {
modules = [ ./hosts/${host} ];
specialArgs = {
inherit inputs outputs;
inherit inputs outputs dotsPath;
};
}
);
@@ -83,7 +84,7 @@
inherit pkgs;
modules = [ ./home/hosts/work ];
extraSpecialArgs = {
inherit inputs outputs;
inherit inputs outputs dotsPath;
};
};
};