Skip to content

Commit

Permalink
nixos/java: format with nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Nov 24, 2024
1 parent 8ccdb34 commit 5bb480b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions nixos/modules/programs/java.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# This module provides JAVA_HOME, with a different way to install java
# system-wide.

{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:

let
cfg = config.programs.java;
Expand All @@ -28,9 +33,7 @@ in
'';
};

package = lib.mkPackageOption pkgs "jdk" {
example = "jre";
};
package = lib.mkPackageOption pkgs "jdk" { example = "jre"; };

binfmt = lib.mkEnableOption "binfmt to execute java jar's and classes";

Expand Down

0 comments on commit 5bb480b

Please sign in to comment.