refactor: use xdg.configFile over home.file
This commit is contained in:
parent
724f2a8bb7
commit
a92ade3b2d
1 changed files with 21 additions and 29 deletions
|
@ -28,37 +28,29 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
xdg.configFile = {
|
||||||
file = {
|
"qtile".source = ./config/qtile;
|
||||||
qtile_config = {
|
"doom" = {
|
||||||
source = ./config/qtile;
|
source = ./config/doom;
|
||||||
target = "${config.xdg.configHome}/qtile";
|
onChange = ''
|
||||||
};
|
${config.xdg.configHome}/emacs/bin/doom sync -p
|
||||||
|
'';
|
||||||
doom_config = {
|
|
||||||
source = ./config/doom;
|
|
||||||
target = "${config.xdg.configHome}/doom";
|
|
||||||
};
|
|
||||||
|
|
||||||
blugon_config = {
|
|
||||||
source = ./config/blugon;
|
|
||||||
target = "${config.xdg.configHome}/blugon";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
"blugon".source = ./config/blugon;
|
||||||
packages = with pkgs; [
|
|
||||||
hydrus
|
|
||||||
|
|
||||||
speedcrunch
|
|
||||||
|
|
||||||
teams
|
|
||||||
|
|
||||||
libsForQt5.dolphin
|
|
||||||
gnome.gnome-screenshot
|
|
||||||
|
|
||||||
sxiv
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
hydrus
|
||||||
|
|
||||||
|
speedcrunch
|
||||||
|
|
||||||
|
teams
|
||||||
|
|
||||||
|
libsForQt5.dolphin
|
||||||
|
gnome.gnome-screenshot
|
||||||
|
|
||||||
|
sxiv
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue