mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
users/foo-dogsquared/dotfiles: add Nushell dotfiles into the setup
This commit is contained in:
parent
963ee06e6e
commit
6cd3e355fa
@ -41,8 +41,14 @@ in
|
|||||||
xdg.configFile.nyxt.source = getDotfiles "nyxt";
|
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";
|
xdg.configFile.nvim.source = getDotfiles "nvim";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
(lib.mkIf userCfg.programs.nushell.enable {
|
||||||
|
home.file."${config.xdg.dataHome}/nushell/vendor/autoload".source = getDotfiles "nu/autoload";
|
||||||
|
})
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user