diff --git a/home/christoph/default.nix b/home/christoph/default.nix index e34ce54b..94e2096a 100644 --- a/home/christoph/default.nix +++ b/home/christoph/default.nix @@ -32,6 +32,11 @@ rec { ]; # Enable and configure my custom HM modules. + paths = { + enable = true; # You can't disable this + nixflake = "${config.home.homeDirectory}/NixFlake"; + dotfiles = "${config.home.homeDirectory}/NixFlake/config"; + }; modules = { ags.enable = false; # TODO: Configure @@ -238,7 +243,7 @@ rec { formatted; # TODO: If navi enabled - ".local/share/navi/cheats/christoph.cheat".source = ../../config/navi/christoph.cheat; # TODO :Symlink + ".local/share/navi/cheats/christoph.cheat".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.dotfiles}/navi/christoph.cheat"; }; # Here, custom scripts can be run when activating a HM generation. diff --git a/home/modules/ags/default.nix b/home/modules/ags/default.nix index c229cb91..0966d1c8 100644 --- a/home/modules/ags/default.nix +++ b/home/modules/ags/default.nix @@ -19,7 +19,7 @@ in { home.file = { # NOTE: Keep this symlinked as long as I'm configuring - ".config/ags".source = config.lib.file.mkOutOfStoreSymlink "/home/christoph/NixFlake/home/modules/ags/config"; + ".config/ags".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.nixflake}/home/modules/ags/config"; # LSP typechecking support (use ags --init) # ".config/ags/types".source = config.lib.file.mkOutOfStoreSymlink "${pkgs.ags}/share/com.github.Aylur.ags/types";