mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
18 lines
452 B
Nix
18 lines
452 B
Nix
{
|
|
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";
|
|
}
|