refactor: use xdg.configFile over home.file

This commit is contained in:
Infinidoge 2021-10-25 09:36:25 -04:00
parent 724f2a8bb7
commit a92ade3b2d

View file

@ -28,25 +28,18 @@
}; };
}; };
home = { xdg.configFile = {
file = { "qtile".source = ./config/qtile;
qtile_config = { "doom" = {
source = ./config/qtile;
target = "${config.xdg.configHome}/qtile";
};
doom_config = {
source = ./config/doom; source = ./config/doom;
target = "${config.xdg.configHome}/doom"; onChange = ''
${config.xdg.configHome}/emacs/bin/doom sync -p
'';
};
"blugon".source = ./config/blugon;
}; };
blugon_config = { home.packages = with pkgs; [
source = ./config/blugon;
target = "${config.xdg.configHome}/blugon";
};
};
packages = with pkgs; [
hydrus hydrus
speedcrunch speedcrunch
@ -59,7 +52,6 @@
sxiv sxiv
]; ];
}; };
};
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [