diff --git a/modules/wezterm/default.nix b/modules/wezterm/default.nix index 739860e..7ea2b4b 100644 --- a/modules/wezterm/default.nix +++ b/modules/wezterm/default.nix @@ -3,7 +3,6 @@ { xdg.configFile."wezterm" = { # mkOutOfStoreSymlink needs an absolute path, otherwise it does not work: https://github.com/nix-community/home-manager/issues/676#issuecomment-1595795685 - # TODO: At least make the location of the config folder dynamic so that it works on other machines - source = config.lib.file.mkOutOfStoreSymlink /Users/dennis/dev/nix-config/modules/wezterm/config; + source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/wezterm/config"; }; }