config

NixOS config
Log | Files | Refs | README | LICENSE

commit 286d8dec9ff84ee563695d2ec383ec242c7c8fd7 (tree)
parent c884efca71117827facde8850de925e307d4c846
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Tue, 12 Dec 2023 13:16:02 +0200

hm: add jdk17

Diffstat:
Mshared/home/default.nix | 34++++++++++++----------------------
1 file changed, 12 insertions(+), 22 deletions(-)

diff --git a/shared/home/default.nix b/shared/home/default.nix @@ -15,27 +15,21 @@ }; home.packages = with pkgs; - ( - if fullDesktop - then [ + lib.mkMerge [ + (lib.mkIf fullDesktop [ go - zigpkgs."0.11.0" - ] - else [] - ) - ++ ( - if hmOnly - then [ + ]) + (lib.mkIf hmOnly [ ncdu tokei + jdk17 scrcpy yt-dlp vimv-rs hyperfine - ] - else [] - ); + ]) + ]; programs = { direnv.enable = true; @@ -71,17 +65,13 @@ vimdiffAlias = true; defaultEditor = true; plugins = with pkgs.vimPlugins; - [ - fugitive - ] - ++ ( - if fullDesktop - then [ + lib.mkMerge [ + [fugitive] + (lib.mkIf fullDesktop [ vim-go zig-vim - ] - else [] - ); + ]) + ]; extraConfig = builtins.readFile ./vimrc; } (lib.mkIf fullDesktop {