diff --git a/home/modules/neovim/default.nix b/home/modules/neovim/default.nix index a86cfa56..da418dcd 100644 --- a/home/modules/neovim/default.nix +++ b/home/modules/neovim/default.nix @@ -1,4 +1,5 @@ { + username, hostname, config, lib, @@ -907,10 +908,10 @@ in { }; options = { nixos = { - expr = "(builtins.getFlake ('git+file://' + toString ./NixFlake)).nixosConfigurations.${hostname}.options"; + expr = "(builtins.getFlake \"/home/${username}/NixFlake\").nixosConfigurations.${hostname}.options"; }; home_manager = { - expr = "(builtins.getFlake ('git+file://' + toString ./NixFlake)).nixosConfigurations.${hostname}.config.home-manager.users.christoph"; + expr = "(builtins.getFlake \"/home/${username}/NixFlake\").homeConfigurations.\"${username}@${hostname}\".options"; }; }; diagnostic = {