diff options
| -rw-r--r-- | hosts/p-body/default.nix | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index 6d3edaf..78e2227 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -1,12 +1,10 @@ { config, guzzle_api, - modulesPath, pkgs, ... }: { imports = [ - (modulesPath + "/virtualisation/digital-ocean-image.nix") ./buildMachines.nix ./grafana.nix ./loki.nix @@ -14,7 +12,14 @@ ./victoriametrics.nix ]; - boot.supportedFilesystems = ["btrfs"]; + boot = { + loader.grub = { + enable = true; + efiSupport = false; + }; + + supportedFilesystems = ["btrfs"]; + }; networking = { domain = "mydadleft.me"; @@ -30,6 +35,26 @@ }; }; + systemd.network = { + enable = true; + networks."10-wan" = { + matchConfig.name = "ens3"; + networkConfig.DHCP = "no"; + address = [ + "something/32" + ]; + routes = [ + {routeConfig = {Destination = "something";};} + { + routeConfig = { + Gateway = "something"; + GatewayOnLink = true; + }; + } + ]; + }; + }; + swapDevices = [ { device = "/swapfile"; |
