mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 18:59:07 +01:00
external-hosts: Add fairphone
This commit is contained in:
parent
28e704ceff
commit
41ed609dc0
4 changed files with 38 additions and 8 deletions
29
external-hosts/fairphone/default.nix
Normal file
29
external-hosts/fairphone/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ self, ... }:
|
||||
{
|
||||
imports = [ self.nixosModules.default ];
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-linux";
|
||||
|
||||
custom = {
|
||||
networking = {
|
||||
overlay = {
|
||||
address = "10.254.250.74";
|
||||
role = "client";
|
||||
};
|
||||
underlay.useDhcp = true;
|
||||
};
|
||||
|
||||
services = {
|
||||
nebula = {
|
||||
publicKeyPath = toString ./keys/nebula.pub;
|
||||
certificatePath = toString ./keys/nebula.crt;
|
||||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
deviceId = "6ROH65D-E65I5F6-URI4OUZ-RCHFC3B-PMBSIHH-5DNLJPS-SYSUWQY-HKYGHQG";
|
||||
folders = [ "Documents" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue