hm: add jdk17

This commit is contained in:
Motiejus Jakštys 2023-12-12 13:16:02 +02:00 committed by Motiejus Jakštys
parent c884efca71
commit 286d8dec9f
1 changed files with 12 additions and 22 deletions

View File

@ -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 {