users/foo-dogsquared/dotfiles: set all dotfiles conditionally

This commit is contained in:
Gabriel Arazas 2023-12-23 18:36:53 +08:00
parent 2fadd19486
commit dd02b44bf1
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -25,11 +25,16 @@ in
# All of the personal configurations.
xdg.configFile = {
doom.source = getDotfiles "emacs";
kitty.source = getDotfiles "kitty";
nvim.source = getDotfiles "nvim";
nyxt.source = getDotfiles "nyxt";
wezterm.source = getDotfiles "wezterm";
doom.source =
lib.mkIf userCfg.programs.doom-emacs.enable (getDotfiles "emacs");
kitty.source =
lib.mkIf userCfg.setups.development.enable (getDotfiles "kitty");
nvim.source =
lib.mkIf userCfg.setups.development.enable (getDotfiles "nvim");
nyxt.source =
lib.mkIf userCfg.programs.browsers.misc.enable (getDotfiles "nyxt");
wezterm.source =
lib.mkIf userCfg.setups.development.enable (getDotfiles "wezterm");
};
};
}