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 = {
|
||||
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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue