From e33cff426c6b3ebf31373d36f7e31955747234fd Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sat, 19 Jun 2021 10:25:30 -0400 Subject: [PATCH] BUGFIX! Wrong device UUID --- README.org | 4 +++- hosts/raspberry/configuration.nix | 2 ++ hosts/raspberry/hardware.nix | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index b43bdee..74cfcb2 100644 --- a/README.org +++ b/README.org @@ -699,6 +699,8 @@ Deploy this configuration with ~sudo nixos-rebuild switch --flake /etc/dotfiles/ networking.firewall.enable = false; networking.wireless.enable = true; networking.wireless.userControlled.enable = true; + networking.interfaces.eth0.useDHCP = true; + networking.interfaces.wlan0.useDHCP = true; <> @@ -757,7 +759,7 @@ Deploy this configuration with ~sudo nixos-rebuild switch --flake /etc/dotfiles/ fileSystems = { "/" = { - device = "/dev/disk/by-uuid/444444444-4444-4444-8888-888888888888"; + device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; fsType = "ext4"; options = [ "noatime" ]; }; diff --git a/hosts/raspberry/configuration.nix b/hosts/raspberry/configuration.nix index 1032363..b086454 100644 --- a/hosts/raspberry/configuration.nix +++ b/hosts/raspberry/configuration.nix @@ -6,6 +6,8 @@ networking.firewall.enable = false; networking.wireless.enable = true; networking.wireless.userControlled.enable = true; + networking.interfaces.eth0.useDHCP = true; + networking.interfaces.wlan0.useDHCP = true; # Pre-configured wireless networks. networking.wireless.networks.MyWiFi_5C1870.pskRaw = diff --git a/hosts/raspberry/hardware.nix b/hosts/raspberry/hardware.nix index c88ec0d..251a047 100644 --- a/hosts/raspberry/hardware.nix +++ b/hosts/raspberry/hardware.nix @@ -34,7 +34,7 @@ fileSystems = { "/" = { - device = "/dev/disk/by-uuid/444444444-4444-4444-8888-888888888888"; + device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; fsType = "ext4"; options = [ "noatime" ]; };