forked from M-Labs/nix-servo
fix login errors
This commit is contained in:
parent
8f664049d6
commit
f6055cf908
@ -96,7 +96,7 @@ index c61f9d6..fbdf0fd 100644
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
diff --git a/zynq_image.nix b/zynq_image.nix
|
diff --git a/zynq_image.nix b/zynq_image.nix
|
||||||
index 3fa23ab..b95e7f8 100644
|
index 3fa23ab..4fa949e 100644
|
||||||
--- a/zynq_image.nix
|
--- a/zynq_image.nix
|
||||||
+++ b/zynq_image.nix
|
+++ b/zynq_image.nix
|
||||||
@@ -1,66 +1,90 @@
|
@@ -1,66 +1,90 @@
|
||||||
@ -200,7 +200,7 @@ index 3fa23ab..b95e7f8 100644
|
|||||||
+ etc = {
|
+ etc = {
|
||||||
+ "service/getty/run".source = pkgs.writeShellScript "getty" ''
|
+ "service/getty/run".source = pkgs.writeShellScript "getty" ''
|
||||||
+ hostname ${config.networking.hostName}
|
+ hostname ${config.networking.hostName}
|
||||||
+ agetty ttyPS0 115200
|
+ exec setsid agetty ttyPS0 115200
|
||||||
+ '';
|
+ '';
|
||||||
+ "pam.d/other".text = ''
|
+ "pam.d/other".text = ''
|
||||||
+ auth sufficient pam_permit.so
|
+ auth sufficient pam_permit.so
|
||||||
|
Loading…
Reference in New Issue
Block a user