feat: ...get internet again. git-hooks.nix adopt

This commit is contained in:
Kat Inskip 2025-08-18 15:13:47 -07:00
parent 7a0f09e700
commit e00ec8f2f2
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
116 changed files with 1157 additions and 4681 deletions

18
microvms/syncthing.nix Normal file
View file

@ -0,0 +1,18 @@
{
tree,
config,
...
}: {
imports = with tree.nixos; [
microvm.default
servers.syncthing
];
sops.secrets."${config.networking.hostName}-sops-age-key" = {
sopsFile = ./. + "${config.networking.hostName}.yaml";
};
microvm.credentialFiles = {
SOPS_AGE_KEY = sops.secrets."${config.networking.hostName}-sops-age-key".path;
};
networking.hostName = "syncthing";
services.syncthing.device_name = "daiyousei-syncthing";
}