chore: treefmt

This commit is contained in:
a-kenji
2025-04-23 08:00:16 +02:00
parent ca5ddcee93
commit 356b26e690
6 changed files with 10 additions and 9 deletions

View File

@@ -3,4 +3,4 @@
"publickey": "age1dtyyp6t7hy570sd0vqleges2hve8jn8pfk2dnnxm9x7c6ultn9yssh0mjh", "publickey": "age1dtyyp6t7hy570sd0vqleges2hve8jn8pfk2dnnxm9x7c6ultn9yssh0mjh",
"type": "age" "type": "age"
} }
] ]

View File

@@ -3,4 +3,4 @@
"publickey": "age12xw22jdyk23halj5vafkxhne9uecux0umumcse6vee2eux55wg0qxagw6a", "publickey": "age12xw22jdyk23halj5vafkxhne9uecux0umumcse6vee2eux55wg0qxagw6a",
"type": "age" "type": "age"
} }
] ]

View File

@@ -3,4 +3,4 @@
"publickey": "age19202wv5mesd4pyvk96rtkqf0tm9hvhwscuxuwxlmhc3v9mtszgxsl500j6", "publickey": "age19202wv5mesd4pyvk96rtkqf0tm9hvhwscuxuwxlmhc3v9mtszgxsl500j6",
"type": "age" "type": "age"
} }
] ]

View File

@@ -1 +1,4 @@
{"publickey": "age1qm0p4vf9jvcnn43s6l4prk8zn6cx0ep9gzvevxecv729xz540v8qa742eg", "type": "age"} {
"publickey": "age1qm0p4vf9jvcnn43s6l4prk8zn6cx0ep9gzvevxecv729xz540v8qa742eg",
"type": "age"
}

View File

@@ -1,6 +1,5 @@
{ config , pkgs, lib, ... }: { ... }:
let {
in {
imports = [ imports = [
../shared.nix ../shared.nix
]; ];

View File

@@ -12,8 +12,7 @@ in
../shared.nix ../shared.nix
]; ];
clan.syncthing.introducer = lib.strings.removeSuffix "\n" ( clan.syncthing.introducer = lib.strings.removeSuffix "\n" (
if builtins.pathExists introducerId if builtins.pathExists introducerId then
then
builtins.readFile introducerId builtins.readFile introducerId
else else
throw "${introducerId} does not exists. Please run `clan vars generate ${introducer}` to generate the introducer device id" throw "${introducerId} does not exists. Please run `clan vars generate ${introducer}` to generate the introducer device id"