add grep and vim

This commit is contained in:
Florian Agbuya 2024-10-31 19:06:59 +08:00
parent 3cf9a721cf
commit e708696b5d

View File

@ -152,7 +152,7 @@ index c61f9d6..fbdf0fd 100644
};
}
diff --git a/zynq_image.nix b/zynq_image.nix
index 3fa23ab..d5c5eda 100644
index 3fa23ab..069fe89 100644
--- a/zynq_image.nix
+++ b/zynq_image.nix
@@ -1,66 +1,89 @@
@ -250,7 +250,7 @@ index 3fa23ab..d5c5eda 100644
- environment.etc."service/getty/run".source = pkgs.writeShellScript "getty" ''
- agetty ttyPS0 115200
+ environment = {
+ systemPackages = with pkgs; [ inetutils wget nano ];
+ systemPackages = with pkgs; [ inetutils wget gnugrep nano vim ];
+ etc = {
+ "service/getty/run".source = pkgs.writeShellScript "getty" ''
+ hostname ${config.networking.hostName}