mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
18 lines
451 B
Nix
18 lines
451 B
Nix
{
|
|
tree,
|
|
config,
|
|
...
|
|
}: {
|
|
imports = with tree.nixos; [
|
|
microvm
|
|
servers.syncthing
|
|
];
|
|
sops.secrets."${config.networking.hostName}-sops-age-key" = {
|
|
sopsFile = ./. + "${config.networking.hostName}.yaml";
|
|
};
|
|
microvm.credentialFiles = {
|
|
SOPS_AGE_KEY = config.sops.secrets."${config.networking.hostName}-sops-age-key".path;
|
|
};
|
|
networking.hostName = "syncthing";
|
|
services.syncthing.device_name = "daiyousei-syncthing";
|
|
}
|