mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
29 lines
599 B
Nix
29 lines
599 B
Nix
{ self, ... }:
|
|
{
|
|
imports = [ self.nixosModules.default ];
|
|
|
|
nixpkgs.hostPlatform = "aarch64-linux";
|
|
|
|
custom = {
|
|
networking = {
|
|
overlay = {
|
|
address = "10.254.250.74";
|
|
role = "client";
|
|
};
|
|
underlay.useDhcp = true;
|
|
};
|
|
|
|
services = {
|
|
nebula = {
|
|
publicKeyFile = toString ./keys/nebula.pub;
|
|
certificateFile = toString ./keys/nebula.crt;
|
|
};
|
|
|
|
syncthing = {
|
|
enable = true;
|
|
deviceId = "6ROH65D-E65I5F6-URI4OUZ-RCHFC3B-PMBSIHH-5DNLJPS-SYSUWQY-HKYGHQG";
|
|
folders = [ "Documents" ];
|
|
};
|
|
};
|
|
};
|
|
}
|