using config.xdg

This commit is contained in:
John Lancaster
2026-03-08 21:36:17 -05:00
parent 902f6ec023
commit 7d28205371
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
options = { options = {
homeManagerFlakeDir = lib.mkOption { homeManagerFlakeDir = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "~/.config/home-manager/jsl-home"; default = "${config.xdg.configHome}/home-manager";
description = "Path to the home-manager flake directory."; description = "Path to the home-manager flake directory.";
}; };
}; };

View File

@@ -20,7 +20,7 @@
# Include another inline module to set the options created through the jsl-home modules # Include another inline module to set the options created through the jsl-home modules
({ config, ... }: { ({ config, ... }: {
homeManagerFlakeDir = "~/.config/home-manager/jsl-dendritic"; homeManagerFlakeDir = "${config.xdg.configHome}/home-manager/jsl-dendritic";
docker.enable = true; docker.enable = true;
ssh.matchSets = { ssh.matchSets = {
certs = true; certs = true;