mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
users/foo-dogsquared/dotfiles: set all dotfiles conditionally
This commit is contained in:
parent
2fadd19486
commit
dd02b44bf1
@ -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");
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user