Compare commits
1 commit
0df4e76404
...
8b8b78666d
Author | SHA1 | Date | |
---|---|---|---|
8b8b78666d |
1 changed files with 5 additions and 10 deletions
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.jhome.dev;
|
||||
in
|
||||
|
@ -11,12 +6,12 @@ in
|
|||
config =
|
||||
lib.flip lib.pipe
|
||||
[
|
||||
lib.mkMerge
|
||||
(lib.mkIf (config.jhome.enable && cfg.enable))
|
||||
lib.mkMerge
|
||||
]
|
||||
[
|
||||
(lib.mkIf cfg.rust.enable {
|
||||
home.packages = [ pkgs.rustup ] ++ cfg.rust.extraPackages;
|
||||
home.packages = [ pkgs.rustup ] ++ devcfg.rust.extraPackages;
|
||||
# Background code checker (for Rust)
|
||||
programs.bacon = {
|
||||
enable = true;
|
||||
|
@ -31,8 +26,8 @@ in
|
|||
})
|
||||
{
|
||||
home = {
|
||||
sessionVariables.MANPAGER = lib.optionalString cfg.neovimAsManPager "nvim -c 'Man!' -o -";
|
||||
packages = cfg.extraPackages;
|
||||
sessionVariables.MANPAGER = lib.optionalString devcfg.neovimAsManPager "nvim -c 'Man!' -o -";
|
||||
packages = devcfg.extraPackages;
|
||||
};
|
||||
|
||||
# Github CLI
|
||||
|
|
Loading…
Add table
Reference in a new issue