diff options
Diffstat (limited to 'machines/bosco/default.nix')
| -rw-r--r-- | machines/bosco/default.nix | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/machines/bosco/default.nix b/machines/bosco/default.nix index e519f56..a2b493c 100644 --- a/machines/bosco/default.nix +++ b/machines/bosco/default.nix @@ -10,11 +10,11 @@ ./hardware-configuration.nix ./disko.nix - ./reverse-proxy.nix + # ./reverse-proxy.nix # ../biski/portforward.nix - ../../modules/nixos/headscale.nix - ../../modules/nixos/cgit.nix + # ../../modules/nixos/headscale.nix + # ../../modules/nixos/cgit.nix ]; nixpkgs.hostPlatform = "x86_64-linux"; # Use the GRUB 2 boot loader. @@ -24,7 +24,7 @@ boot.loader.efi.efiSysMountPoint = "/boot"; # Define on which hard drive you want to install Grub. # boot.loader.grub.device = "nodev"; - boot.loader.grub.device = "boot"; + boot.loader.grub.device = "/dev/disk/by-uuid/1282-A4B6"; boot.loader.timeout = 3; # boot.loader.grub.forceInstall = true; # boot.loader.grub.extraConfig = '' @@ -47,20 +47,20 @@ # networking.usePredictableInterfaceNames = false; - networking.localCommands = '' - ip addr add 23.131.76.82/32 eth0 - ''; - # networking.interfaces."eth0".ipv4 = { - # addresses = [{ - # address = "23.131.76.82"; - # prefixLength = 32; - # }]; - # routes = [{ - # address = "172.16.101.1"; - # prefixLength = 24; - # }]; - # }; - # networking.nameservers = "9.9.9.9"; + # networking.localCommands = '' + # ip addr add 23.131.76.82/32 dev ens18 + # ''; + networking.interfaces."eth0".ipv4 = { + addresses = [{ + address = "23.131.76.82"; + prefixLength = 32; + }]; + routes = [{ + address = "172.16.101.1"; + prefixLength = 24; + }]; + }; + networking.nameservers = "9.9.9.9"; # Select internationalisation properties. # i18n.defaultLocale = "en_US.UTF-8"; |
