337 current 2025-10-11 20:25:59 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -8,25 +8,16 @@ in
|
|||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../users/blake/blake.nix
|
../../users/users.nix
|
||||||
../../modules/system/system.nix
|
../../modules/system
|
||||||
];
|
];
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
system = {
|
system = {
|
||||||
ssh.enable = true;
|
|
||||||
docker.enable = true;
|
|
||||||
syncthing.enable = false;
|
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
nvidia.enable = false;
|
|
||||||
};
|
|
||||||
homelab = {
|
|
||||||
docker.ddns.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable user
|
|
||||||
users.blake.enable = true;
|
|
||||||
|
|
||||||
# use the systemd-boot EFI boot loader.
|
# use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
@@ -64,7 +55,7 @@ in
|
|||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.extraCommands = ''
|
||||||
HOMELAB_IP="10.10.0.30" # destination address
|
HOMELAB_IP="10.10.0.10" # destination address
|
||||||
PUBLIC_IF="eth0" # vps public interface
|
PUBLIC_IF="eth0" # vps public interface
|
||||||
TAILSCALE_IF="tailscale0" # tailscale interface
|
TAILSCALE_IF="tailscale0" # tailscale interface
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,8 @@
|
|||||||
url = "https://bebe.lan";
|
url = "https://bebe.lan";
|
||||||
error-url = "https://10.10.0.1";
|
error-url = "https://10.10.0.1";
|
||||||
check-url = "https://10.10.0.1";
|
check-url = "https://10.10.0.1";
|
||||||
icon = "di:unifi"; }];
|
icon = "di:unifi";
|
||||||
|
allow-insecure = true; }];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user