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

@@ -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"