summaryrefslogtreecommitdiff
path: root/machines/bosco/default.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-04-11 08:10:18 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-04-11 08:10:18 -0600
commit443871382779e727e0a463e993d77a6a6e5261fd (patch)
tree0fc15077ccb45402aea618bf48625c722985cf05 /machines/bosco/default.nix
parent395d295b463c49b60ff8d99d2fb87ac2a58bd522 (diff)
bosco network/boot rescue ops
Diffstat (limited to 'machines/bosco/default.nix')
-rw-r--r--machines/bosco/default.nix36
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";