nixos/java: format with nixfmt-rfc-style

This commit is contained in:
Tomodachi94 2024-11-24 22:44:54 +00:00
parent 8ccdb34f50
commit 5bb480bf8f

View File

@ -1,7 +1,12 @@
# This module provides JAVA_HOME, with a different way to install java # This module provides JAVA_HOME, with a different way to install java
# system-wide. # system-wide.
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
let let
cfg = config.programs.java; cfg = config.programs.java;
@ -28,9 +33,7 @@ in
''; '';
}; };
package = lib.mkPackageOption pkgs "jdk" { package = lib.mkPackageOption pkgs "jdk" { example = "jre"; };
example = "jre";
};
binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes"; binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes";