From 5bbafcfcc83e274b739a6f73a4aab529dc0eba76 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 21 May 2025 13:15:43 +0200 Subject: snapshot: Mi 21. Mai 13:15:43 CEST 2025 --- srv/hadante/configuration.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srv/hadante/configuration.nix b/srv/hadante/configuration.nix index d28d712..fb02aa3 100644 --- a/srv/hadante/configuration.nix +++ b/srv/hadante/configuration.nix @@ -196,15 +196,16 @@ in } ) javas) // { - ".gradle/gradle.properties".text = '' - org.gradle.java.installations.paths=${ - builtins.concatStringsSep "," ( + ".gradle/gradle.properties".source = + (pkgs.formats.javaProperties { }).generate "gradle.properties" { + "org.gradle.java.installations.paths" = builtins.concatStringsSep "," ( builtins.map (name: "/home/" + config.user + "/.jdks/" + name + "/lib/openjdk") ( builtins.attrNames javas ) - ) + ); } - ''; + + ; ".cargo/config.toml".text = '' [net] git-fetch-with-cli = true -- cgit