remove hard coded paths

This commit is contained in:
2025-11-05 23:51:05 -06:00
parent c243c4393f
commit 303c759bb4
2 changed files with 14 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
}: let
program = "xdg";
cfg = config.dots.${program};
#sec = sops.secrets;
home_dir = config.home.homeDirectory;
in {
options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}";
@@ -20,22 +20,22 @@ in {
then {}
else {
enable = true;
configHome = "/home/blake/.config";
cacheHome = "/home/blake/.cache";
dataHome = "/home/blake/.local/share";
stateHome = "/home/blake/.local/state";
configHome = "${home_dir}/.config";
cacheHome = "${home_dir}/.cache";
dataHome = "${home_dir}/.local/share";
stateHome = "${home_dir}/.local/state";
userDirs = {
enable = true;
# writes ~/.config/user-dirs.dirs
desktop = "/home/blake/desktop";
download = "/home/blake/downloads";
documents = "/home/blake/documents";
pictures = "/home/blake/pictures";
videos = "/home/blake/videos";
music = "/home/blake/music";
publicShare = "/home/blake/public";
templates = "/home/blake/templates";
desktop = "${home_dir}/desktop";
download = "${home_dir}/downloads";
documents = "${home_dir}/documents";
pictures = "${home_dir}/pictures";
videos = "${home_dir}/videos";
music = "${home_dir}/music";
publicShare = "${home_dir}/public";
templates = "${home_dir}/templates";
};
};

View File

@@ -37,7 +37,7 @@ in {
applications = 12;
terminal = 12;
desktop = 10;
popups = 16;
popups = 14;
};
serif = {
package = pkgs.nerd-fonts.ubuntu;