chore: treefmt
This commit is contained in:
@@ -1 +1,4 @@
|
|||||||
{"publickey": "age1qm0p4vf9jvcnn43s6l4prk8zn6cx0ep9gzvevxecv729xz540v8qa742eg", "type": "age"}
|
{
|
||||||
|
"publickey": "age1qm0p4vf9jvcnn43s6l4prk8zn6cx0ep9gzvevxecv729xz540v8qa742eg",
|
||||||
|
"type": "age"
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{ config , pkgs, lib, ... }:
|
{ ... }:
|
||||||
let
|
{
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
../shared.nix
|
../shared.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user