diff --git a/hosts/pulsebert/default.nix b/hosts/pulsebert/default.nix index 65b337ac..a5422e13 100644 --- a/hosts/pulsebert/default.nix +++ b/hosts/pulsebert/default.nix @@ -85,9 +85,12 @@ in users.users = { # Allow access to printer serial port and GPIO - "${config.services.octoprint.user}".extraGroups = [ "dialout" "gpio" ]; + "${config.services.octoprint.user}".extraGroups = [ "dialout" ]; # Allow gpio group to access GPIO devices - gpio = { }; + gpio = { + isNormalUser = true; + group = "gpio"; + }; }; services = { diff --git a/overlay/readsb.nix b/overlay/readsb.nix index df512686..15bb96a9 100644 --- a/overlay/readsb.nix +++ b/overlay/readsb.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "Mictronics"; - repo = name; + repo = pname; # branch "dev" as of 2021-12-10 rev = "b6c1bebc77d80a9366e31c13c73eea95e7a9296a"; sha256 = "0vg37cngbvahwb8wc6j5i605d8fn4ck0szy13xzw5b3q61aqvaqv";