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,37 +28,29 @@
};
};
home = {
file = {
qtile_config = {
source = ./config/qtile;
target = "${config.xdg.configHome}/qtile";
};
doom_config = {
source = ./config/doom;
target = "${config.xdg.configHome}/doom";
};
blugon_config = {
source = ./config/blugon;
target = "${config.xdg.configHome}/blugon";
};
xdg.configFile = {
"qtile".source = ./config/qtile;
"doom" = {
source = ./config/doom;
onChange = ''
${config.xdg.configHome}/emacs/bin/doom sync -p
'';
};
packages = with pkgs; [
hydrus
speedcrunch
teams
libsForQt5.dolphin
gnome.gnome-screenshot
sxiv
];
"blugon".source = ./config/blugon;
};
home.packages = with pkgs; [
hydrus
speedcrunch
teams
libsForQt5.dolphin
gnome.gnome-screenshot
sxiv
];
};
environment = {