System/home-manager/linux/programs/devel.nix

44 lines
931 B
Nix
Raw Normal View History

2022-09-04 03:29:35 -04:00
{ config, lib, pkgs, inputs, ... }:
let
devel = config.nathan.programs.devel;
unstable = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}";
inherit (import ../../../modules/lib.nix {
inherit lib;
inherit pkgs;
})
nLib;
2022-09-04 03:29:35 -04:00
in with lib;
with nLib; {
2022-09-04 03:29:35 -04:00
config = mkMerge [
2022-09-04 03:33:35 -04:00
# Core development utilites
(mkIf devel.core {
home.packages = with pkgs;
# Linux specific packages
2022-09-04 03:33:35 -04:00
[
clang
unstable.mold
];
})
2022-09-04 03:36:15 -04:00
# Rust development
(mkIf devel.rust {
home.packages = with pkgs;
[
unstable.cargo-tarpaulin # Code coverage
];
2022-09-04 03:36:15 -04:00
})
2022-09-04 03:29:35 -04:00
# JVM Development
(mkIf devel.jvm {
home.packages = with unstable; [
inputs.java.packages."${pkgs.system}".semeru-stable
gradle
kotlin
kotlin-native
kotlin-language-server
2022-11-29 04:59:52 -05:00
jdt-language-server
2022-09-04 03:29:35 -04:00
ktlint
];
})
];
}