mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: ...get internet again. git-hooks.nix adopt
This commit is contained in:
parent
7a0f09e700
commit
e00ec8f2f2
116 changed files with 1157 additions and 4681 deletions
18
microvms/syncthing.nix
Normal file
18
microvms/syncthing.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue