aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-05-21 13:15:43 +0200
committerLinnea Gräf <nea@nea.moe>2025-05-21 13:15:43 +0200
commit5bbafcfcc83e274b739a6f73a4aab529dc0eba76 (patch)
tree031d884e54753e525f7be3d0a031547e4c68736b
parent90dbb6c51b14cd8483b56faf3ce101aec8747bf0 (diff)
downloadnix-infra-5bbafcfcc83e274b739a6f73a4aab529dc0eba76.tar.gz
nix-infra-5bbafcfcc83e274b739a6f73a4aab529dc0eba76.tar.bz2
nix-infra-5bbafcfcc83e274b739a6f73a4aab529dc0eba76.zip
snapshot: Mi 21. Mai 13:15:43 CEST 2025
-rw-r--r--srv/hadante/configuration.nix11
1 files 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