users/foo-dogsquared/dotfiles: add Nushell dotfiles into the setup

This commit is contained in:
Gabriel Arazas 2025-01-21 14:05:18 +08:00
parent 963ee06e6e
commit 6cd3e355fa
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -41,8 +41,14 @@ in
xdg.configFile.nyxt.source = getDotfiles "nyxt";
})
(lib.mkIf (!userCfg.programs.nixvim.enable) {
# Comes with a heavy assumption that the Neovim configuration found in this
# home-manager environment will not write to the XDG config directory.
(lib.mkIf (!config.programs.nixvim.enable) {
xdg.configFile.nvim.source = getDotfiles "nvim";
})
(lib.mkIf userCfg.programs.nushell.enable {
home.file."${config.xdg.dataHome}/nushell/vendor/autoload".source = getDotfiles "nu/autoload";
})
]);
}