chore: add more topology information
This commit is contained in:
parent
3a21f6ee50
commit
f3131b6a5b
|
@ -54,6 +54,7 @@
|
|||
pkgs = channels.nixpkgs;
|
||||
modules = [
|
||||
{inherit (inputs.self) nixosConfigurations;}
|
||||
./topology.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
})
|
||||
];
|
||||
|
||||
topology.self.name = "Raspberry Pi";
|
||||
|
||||
hardware.raspberry-pi."4" = {
|
||||
apply-overlays-dtmerge.enable = true;
|
||||
pwm0.enable = true;
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
};
|
||||
zramSwap.enable = true;
|
||||
|
||||
topology.self.name = "netcup server";
|
||||
|
||||
profiles.server.enable = true;
|
||||
profiles.server.tailscaleExitNode = true;
|
||||
networking.hostName = "wailord";
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
topology.self.name = "Desktop";
|
||||
|
||||
profiles.tailscale.enable = true;
|
||||
profiles.desktop.enable = true;
|
||||
profiles.desktop.android-dev.enable = true;
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
networks.home = {
|
||||
name = "Home";
|
||||
cidrv4 = "192.168.1.1/24";
|
||||
};
|
||||
nodes.crusty.interfaces.tailscale0.network = "home";
|
||||
nodes.ryzenbox.interfaces.tailscale0.network = "home";
|
||||
}
|
Loading…
Reference in New Issue