From 5bb480bf8f0faa39fe0d1296d1b8fadb59c9ef07 Mon Sep 17 00:00:00 2001 From: Tomodachi94 Date: Sun, 24 Nov 2024 22:44:54 +0000 Subject: [PATCH] nixos/java: format with nixfmt-rfc-style --- nixos/modules/programs/java.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos/modules/programs/java.nix b/nixos/modules/programs/java.nix index 784add809682..24f72b206fdc 100644 --- a/nixos/modules/programs/java.nix +++ b/nixos/modules/programs/java.nix @@ -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; @@ -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";