Home: Configure paths module + use it when making out-of-store symlinks
This commit is contained in:
@ -32,6 +32,11 @@ rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Enable and configure my custom HM modules.
|
# 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 = {
|
modules = {
|
||||||
ags.enable = false; # TODO: Configure
|
ags.enable = false; # TODO: Configure
|
||||||
|
|
||||||
@ -238,7 +243,7 @@ rec {
|
|||||||
formatted;
|
formatted;
|
||||||
|
|
||||||
# TODO: If navi enabled
|
# 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.
|
# Here, custom scripts can be run when activating a HM generation.
|
||||||
|
@ -19,7 +19,7 @@ in {
|
|||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
# NOTE: Keep this symlinked as long as I'm configuring
|
# 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)
|
# LSP typechecking support (use ags --init)
|
||||||
# ".config/ags/types".source = config.lib.file.mkOutOfStoreSymlink "${pkgs.ags}/share/com.github.Aylur.ags/types";
|
# ".config/ags/types".source = config.lib.file.mkOutOfStoreSymlink "${pkgs.ags}/share/com.github.Aylur.ags/types";
|
||||||
|
Reference in New Issue
Block a user