feat(home): Enable bacon with rust cfg
This commit is contained in:
parent
ce3a42f901
commit
f8b43d8f36
1 changed files with 6 additions and 2 deletions
|
@ -113,8 +113,7 @@ in
|
|||
(lib.mkIf (cfg.enable && devcfg.enable) {
|
||||
home = {
|
||||
sessionVariables.MANPAGER = lib.optionalString devcfg.neovimAsManPager "nvim -c 'Man!' -o -";
|
||||
packages = devcfg.extraPackages
|
||||
++ lib.optionals devcfg.rust.enable ([ pkgs.rustup ] ++ devcfg.rust.extraPackages);
|
||||
packages = devcfg.extraPackages;
|
||||
};
|
||||
|
||||
# Github CLI
|
||||
|
@ -151,5 +150,10 @@ in
|
|||
# Jujutsu (alternative DVCS (git-compatible))
|
||||
programs.jujutsu.enable = true;
|
||||
})
|
||||
(lib.mkIf (cfg.enable && devcfg.enable && devcfg.rust.enable) {
|
||||
home.packages = [ pkgs.rustup ] ++ devcfg.rust.extraPackages;
|
||||
# Background code checker (for Rust)
|
||||
programs.bacon.enable = true;
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue