using config.xdg
This commit is contained in:
@@ -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.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user