Recreated flake files

This commit is contained in:
2026-03-12 20:48:48 +01:00
parent 7af2119207
commit f4951eb155
+5 -4
View File
@@ -41,6 +41,7 @@
"traveldroid" "traveldroid"
"maindroid" "maindroid"
]; ];
flakeRoot = ./.; # Define flakeRoot here
in in
{ {
nixosConfigurations = lib.genAttrs machines ( nixosConfigurations = lib.genAttrs machines (
@@ -62,10 +63,10 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit user inputs; }; home-manager.extraSpecialArgs = { inherit user inputs flakeRoot; };
} }
]; ];
specialArgs = { inherit user inputs; }; specialArgs = { inherit user inputs flakeRoot; };
} }
); );
@@ -73,8 +74,8 @@
userMachine: userMachine:
home-manager.lib.homeManagerConfiguration { home-manager.lib.homeManagerConfiguration {
inherit system; inherit system;
configuration = import ./user.nix { inherit inputs user; }; configuration = import ./user.nix { inherit inputs user flakeRoot; };
extraSpecialArgs = { inherit user inputs; }; extraSpecialArgs = { inherit user inputs flakeRoot; };
} }
); );