mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
secrets: added syncthing key and certs
This commit is contained in:
parent
233e9ba5b0
commit
d0c2409ac1
|
@ -25,8 +25,17 @@
|
||||||
|
|
||||||
networking.hostName = "fallarbor"; # Define your hostname.
|
networking.hostName = "fallarbor"; # Define your hostname.
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
||||||
|
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
syncthing = {
|
||||||
|
cert = config.age.secrets.syncthingCert.path;
|
||||||
|
key = config.age.secrets.syncthingKey.path;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
alyraffauf = {
|
alyraffauf = {
|
||||||
|
|
|
@ -25,8 +25,17 @@
|
||||||
|
|
||||||
networking.hostName = "lavaridge"; # Define your hostname.
|
networking.hostName = "lavaridge"; # Define your hostname.
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
||||||
|
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
|
syncthing = {
|
||||||
|
cert = config.age.secrets.syncthingCert.path;
|
||||||
|
key = config.age.secrets.syncthingKey.path;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
alyraffauf = {
|
alyraffauf = {
|
||||||
|
|
|
@ -25,6 +25,16 @@ in {
|
||||||
|
|
||||||
networking.hostName = hostName; # Define your hostname.
|
networking.hostName = hostName; # Define your hostname.
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
||||||
|
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
cert = config.age.secrets.syncthingCert.path;
|
||||||
|
key = config.age.secrets.syncthingKey.path;
|
||||||
|
};
|
||||||
|
|
||||||
alyraffauf = {
|
alyraffauf = {
|
||||||
apps = {
|
apps = {
|
||||||
nicotine-plus.enable = true;
|
nicotine-plus.enable = true;
|
||||||
|
|
|
@ -25,6 +25,16 @@
|
||||||
|
|
||||||
networking.hostName = "petalburg"; # Define your hostname.
|
networking.hostName = "petalburg"; # Define your hostname.
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
syncthingCert.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/cert.age";
|
||||||
|
syncthingKey.file = ../../secrets/hosts + "/${config.networking.hostName}/syncthing/key.age";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
cert = config.age.secrets.syncthingCert.path;
|
||||||
|
key = config.age.secrets.syncthingKey.path;
|
||||||
|
};
|
||||||
|
|
||||||
alyraffauf = {
|
alyraffauf = {
|
||||||
system = {
|
system = {
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
|
|
BIN
secrets/hosts/fallarbor/syncthing/cert.age
Normal file
BIN
secrets/hosts/fallarbor/syncthing/cert.age
Normal file
Binary file not shown.
23
secrets/hosts/fallarbor/syncthing/key.age
Normal file
23
secrets/hosts/fallarbor/syncthing/key.age
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 c7E/gQ ++8AjXZiIIGiUo3TFYrqL8RiSkCPF96//teEM84omn4
|
||||||
|
M3UagDv8Jbzk/LcO6sMPZ3CbretJH4wd5FiUnJv/1NM
|
||||||
|
-> ssh-ed25519 d4UErQ fW76KhMamJtDe0Nq4B6WL21eQqXaN7XHVpuog4qFsDI
|
||||||
|
tJqOwgEmqMPrvyH6HZiMkDlql5V+ZzxgvxS6v+UVGGE
|
||||||
|
-> ssh-ed25519 1mX44w X36PTBvd1bVRrdNResAIYSYKfcE3dIhFystP70DF6D0
|
||||||
|
oiHoZMcynbkDVkXvEHGrvVIiQQRhXC2QP6o1GBF5Pw4
|
||||||
|
-> ssh-ed25519 nrny8w aZlui8I0dwdKs7THXo8OnhugUZ01rakFLsgpqTewZxA
|
||||||
|
T4e8ZEgBrwOyXXtE7pdyN/iT2Z4yqVAfQuO13K0mlm0
|
||||||
|
-> ssh-ed25519 W5caqg L8L3k4ztt3gH6uITQjz1iiHOgj2C+HQc5CsTg4eC4i8
|
||||||
|
GtCwFtMsPT3ATHzhJmptEIraq/7+OOLSGiQ12vnTyWk
|
||||||
|
-> ssh-ed25519 xIeYNQ KGEftyrahw5t1sivLb1iTIFNUWfR0GntCyr58908KSc
|
||||||
|
s7Yg4rPCHu2BGzTvWFX31wh7mDpaCKmj2ds7lZWx884
|
||||||
|
-> ssh-ed25519 GrlIbA Cy53lNMapjnenklZqKafkn2gfKhDlWYl+MVX/bAtMmg
|
||||||
|
rIjGSCzoCKU4tCerC3TXj8L7rhknqhEp7oWT4TyTXrE
|
||||||
|
-> ssh-ed25519 g+apXg QX4OHTDhjdP7Z2caOQq9t3jZeliUFdjAQRJs7BElEnI
|
||||||
|
mMxCxwGbx1E09RbDvAxaAxdCPf16st7qqPF0JMJF8M4
|
||||||
|
-> ssh-ed25519 osHDzw IKMSHzvHgsvZ5nowqti3uLrDiDWLEGEfLploPbNcUVk
|
||||||
|
LzCEn0NED9g7taGoVCT/ViiOLho548FC07eaqOsiges
|
||||||
|
-> ssh-ed25519 s3sc2Q X24GfGbe+7cXvBLx348Lxe2aTRJvtu/3x3UVeSKwABU
|
||||||
|
SKRH5S+l8haiXHDV5x023StxueWEu04j4WudQHmgvGo
|
||||||
|
--- CDDsK6rXzWkDpIIn8wQ/C7qdCq1Z8jezMXx9NeGrQDY
|
||||||
|
@_ *‡`úVfÙ¥»<îÚð\PŸ|"‰©‚Ùä$g§D…E8¿an34¬ÒN”%BrŒVÉD–¼}Œ·!Ýþ»HÞ&[ꑾû[¸óÇ w3˶_ …WaâÎëB¬ª;iJq̸ -þ™Êòœ]Ñ ?Óª¥A]Ùv¬ ň)ªpƒô4&2uÝ8*´2R´ÞC?Ë|ÞÑl|aÔú<C394>ΣʢW|~¯º¼e-*Ì¡Ê;VÒÐk;e$o[ANôý~dlcª¸<C2AA>¥“Òzÿ<7A>˜Ô[ª,Cê¿ Š-¢±TШ—f<E28094>_Ìß_ª4ŠOB–ºiçfl¹Î|ØN†ºá%Wy/³Ñ™+Â\W‘lj@K¥Y>ý<>u6€£ÏþØæ²öcѲÝ0_“m¹]»a
|
BIN
secrets/hosts/lavaridge/syncthing/cert.age
Normal file
BIN
secrets/hosts/lavaridge/syncthing/cert.age
Normal file
Binary file not shown.
BIN
secrets/hosts/lavaridge/syncthing/key.age
Normal file
BIN
secrets/hosts/lavaridge/syncthing/key.age
Normal file
Binary file not shown.
BIN
secrets/hosts/mauville/syncthing/cert.age
Normal file
BIN
secrets/hosts/mauville/syncthing/cert.age
Normal file
Binary file not shown.
BIN
secrets/hosts/mauville/syncthing/key.age
Normal file
BIN
secrets/hosts/mauville/syncthing/key.age
Normal file
Binary file not shown.
BIN
secrets/hosts/petalburg/syncthing/cert.age
Normal file
BIN
secrets/hosts/petalburg/syncthing/cert.age
Normal file
Binary file not shown.
26
secrets/hosts/petalburg/syncthing/key.age
Normal file
26
secrets/hosts/petalburg/syncthing/key.age
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 c7E/gQ +Pq8MtD8bJgttPmcembKUZnjgiB7I7V73ZBlXoO2klw
|
||||||
|
uiEu12D+oEgij+PJKBylAeQofWNIPW2EvQ8FsNZKdj8
|
||||||
|
-> ssh-ed25519 d4UErQ Ks0YlzBYirRp9Cmr8GfKY5RIjSQ379Yxst4ft7AgUT4
|
||||||
|
WXqiZ+Ltz8oTayOwL1BD6Y4p4XFz+ohK0OSe6TDEWbk
|
||||||
|
-> ssh-ed25519 1mX44w KapaksEmtLRCRoR9Bppx5+HChhpkIIpAvqvlldP85FQ
|
||||||
|
P3weMwfL+vA0Zd1G5f1WvCNzj47AgAKcEQqQCVBpG1Y
|
||||||
|
-> ssh-ed25519 nrny8w gjIoqILh5HZ+/teBexkNnNmWBrevf+7nZxZGw++rASc
|
||||||
|
0CBotGme8t0aYIob7p2hQFLLTZ+kGZDNg/yfsYBnR9w
|
||||||
|
-> ssh-ed25519 W5caqg gakyqUNzrvEXup0oKbk0s8Ys3Y57PKtc7cc+pPgDClU
|
||||||
|
tA3T1VNY5t1i2nHAcf3LR6ssu23IEhOD2ihBPtO85B8
|
||||||
|
-> ssh-ed25519 xIeYNQ 2Gr3vqkkgX/sFjyFIvEB2mnZeVGia1gPVWcZJcWucHc
|
||||||
|
o/Zfz4FZxJfUdkKyJwur9dM2DvhIxO/rpB7J0H7PZyQ
|
||||||
|
-> ssh-ed25519 GrlIbA 4mj/zNhSi3qzIOuNt+rH599f5Vn7Wq3yCTI0wKSyYVQ
|
||||||
|
RZRwxzgBKuEORn7qNx/qKiYOpRDAPIGy7wJllHeOYIc
|
||||||
|
-> ssh-ed25519 g+apXg rCw5RCFEwxvYeTEF4iZw2fIN2F18ROOnBtUQvM3XfgA
|
||||||
|
r1hv8/E4aR5uTFWMA0iw1aZH84lSF8y0VJJmFdWOT+s
|
||||||
|
-> ssh-ed25519 osHDzw Hvktgyla+u32Lm40ebpFovckTq2wDMVUZIfOkYg8L34
|
||||||
|
9r0n0hEMd6jpyfgI1+Q786PB/pB0QiGKyBp+IQlTzrQ
|
||||||
|
-> ssh-ed25519 s3sc2Q rgoXVTJDcRxekB+jfOhL4Qn64g55rgPpMwWhGlFb0AA
|
||||||
|
5U+Jf3DAWCPaVwxuXIufAzNMSvqfgdauwQseMqdghTY
|
||||||
|
--- B5WpheUYBu1Y9WcucM7b8Sx52o+jE7qFIqHChSa/3DY
|
||||||
|
³úÀæyg°Ú:or°´¹¸˜(;`$z‹5溸Ì^ArTz˜~6A“žÕ™5ë .êhÛê*ôqr¡·BþšÀ¯«|Þ«d6ʦ Tu–
|
||||||
|
ƒ7b«>Ÿ§hY
|
||||||
|
|
||||||
|
Õ^Tfÿ*]àbZƒü° ”ý…Јò ×<6-a<>;*—¦OèÉš–*x×GÌèø¾‘cAžm, _X^˺(V'i£`çHúÓÚÕGýØRàZY<>о:pjd|æ+ec4†ˆÆÓ@«Ia‰HsqPêވˬ$Ou¨^Èè&"yçk ÌÃl‰PŸä*åABh+‘ð.'i,›~ù<b-–Õ†s ²ÚR¼c_d^¨Š4C\…‚bŸÐ8¯Îqò¢ö|p<>Ž¬âëV!}^¥»cqŠO¦‘¿Zmµ Üq¹WþBš¼?a
|
BIN
secrets/hosts/rustboro/syncthing/cert.age
Normal file
BIN
secrets/hosts/rustboro/syncthing/cert.age
Normal file
Binary file not shown.
BIN
secrets/hosts/rustboro/syncthing/key.age
Normal file
BIN
secrets/hosts/rustboro/syncthing/key.age
Normal file
Binary file not shown.
|
@ -15,6 +15,16 @@ let
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMs1oChR4z/gzFkuKddB+1XrwfG2znlWbdnP+hNAdNdN root@rustboro"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMs1oChR4z/gzFkuKddB+1XrwfG2znlWbdnP+hNAdNdN root@rustboro"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
"hosts/fallarbor/syncthing/cert.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/fallarbor/syncthing/key.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/lavaridge/syncthing/cert.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/lavaridge/syncthing/key.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/mauville/syncthing/cert.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/mauville/syncthing/key.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/petalburg/syncthing/cert.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/petalburg/syncthing/key.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/rustboro/syncthing/cert.age".publicKeys = users ++ systems;
|
||||||
|
"hosts/rustboro/syncthing/key.age".publicKeys = users ++ systems;
|
||||||
"spotify/clientId.age".publicKeys = users ++ systems;
|
"spotify/clientId.age".publicKeys = users ++ systems;
|
||||||
"spotify/clientSecret.age".publicKeys = users ++ systems;
|
"spotify/clientSecret.age".publicKeys = users ++ systems;
|
||||||
"tailscale/authKeyFile.age".publicKeys = users ++ systems;
|
"tailscale/authKeyFile.age".publicKeys = users ++ systems;
|
||||||
|
|
Loading…
Reference in a new issue