From 7d28205371f54d2fc71043dbeff7cdfb6e7e1d0b Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 8 Mar 2026 21:36:17 -0500 Subject: [PATCH] using config.xdg --- modules/home-manager/rebuild.nix | 2 +- modules/hosts/john-pc-ubuntu.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home-manager/rebuild.nix b/modules/home-manager/rebuild.nix index 2c4bd32..c12f976 100644 --- a/modules/home-manager/rebuild.nix +++ b/modules/home-manager/rebuild.nix @@ -6,7 +6,7 @@ options = { homeManagerFlakeDir = lib.mkOption { type = lib.types.str; - default = "~/.config/home-manager/jsl-home"; + default = "${config.xdg.configHome}/home-manager"; description = "Path to the home-manager flake directory."; }; }; diff --git a/modules/hosts/john-pc-ubuntu.nix b/modules/hosts/john-pc-ubuntu.nix index b689448..4bd454a 100644 --- a/modules/hosts/john-pc-ubuntu.nix +++ b/modules/hosts/john-pc-ubuntu.nix @@ -20,7 +20,7 @@ # Include another inline module to set the options created through the jsl-home modules ({ config, ... }: { - homeManagerFlakeDir = "~/.config/home-manager/jsl-dendritic"; + homeManagerFlakeDir = "${config.xdg.configHome}/home-manager/jsl-dendritic"; docker.enable = true; ssh.matchSets = { certs = true;