mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
users/foo-dogsquared/dotfiles: fix conditionals
This commit is contained in:
parent
1e909ff150
commit
0c13466cb5
@ -24,19 +24,23 @@ in
|
||||
home.sessionPath = [
|
||||
"${config.home.mutableFile.${dotfiles}.path}/bin"
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
doom.source =
|
||||
lib.mkIf userCfg.programs.doom-emacs.enable (getDotfiles "emacs");
|
||||
kitty.source =
|
||||
lib.mkIf userCfg.setups.development.enable (getDotfiles "kitty");
|
||||
nyxt.source =
|
||||
lib.mkIf userCfg.programs.browsers.misc.enable (getDotfiles "nyxt");
|
||||
wezterm.source =
|
||||
lib.mkIf userCfg.setups.development.enable (getDotfiles "wezterm");
|
||||
};
|
||||
}
|
||||
|
||||
(lib.mkIf (userCfg.programs.doom-emacs.enable) {
|
||||
xdg.configFile.doom.source = getDotfiles "emacs";
|
||||
})
|
||||
|
||||
(lib.mkIf (userCfg.setups.development.enable) {
|
||||
xdg.configFile = {
|
||||
kitty.source = getDotfiles "emacs";
|
||||
wezterm.source = getDotfiles "wezterm";
|
||||
};
|
||||
})
|
||||
|
||||
(lib.mkIf (userCfg.programs.browsers.misc.enable) {
|
||||
xdg.configFile.nyxt.source = getDotfiles "nyxt";
|
||||
})
|
||||
|
||||
(lib.mkIf (!userCfg.programs.nixvim.enable) {
|
||||
xdg.configFile.nvim.source = getDotfiles "nvim";
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user