fixes
This commit is contained in:
parent
c27a2615f2
commit
8cf9e40836
|
@ -85,9 +85,12 @@ in
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
# Allow access to printer serial port and GPIO
|
# 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
|
# Allow gpio group to access GPIO devices
|
||||||
gpio = { };
|
gpio = {
|
||||||
|
isNormalUser = true;
|
||||||
|
group = "gpio";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mictronics";
|
owner = "Mictronics";
|
||||||
repo = name;
|
repo = pname;
|
||||||
# branch "dev" as of 2021-12-10
|
# branch "dev" as of 2021-12-10
|
||||||
rev = "b6c1bebc77d80a9366e31c13c73eea95e7a9296a";
|
rev = "b6c1bebc77d80a9366e31c13c73eea95e7a9296a";
|
||||||
sha256 = "0vg37cngbvahwb8wc6j5i605d8fn4ck0szy13xzw5b3q61aqvaqv";
|
sha256 = "0vg37cngbvahwb8wc6j5i605d8fn4ck0szy13xzw5b3q61aqvaqv";
|
||||||
|
|
Loading…
Reference in New Issue