From 59bee0701cf8622ac3f9a29ba1eb690a30d18f89 Mon Sep 17 00:00:00 2001 From: Dennis Date: Sun, 22 Jun 2025 20:50:03 +0200 Subject: [PATCH] tries to add dynamic config for wezterm --- modules/wezterm/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"; }; }