From 9a4fd05f380cf5ba404f91db38b1c257535c3a24 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Tue, 2 Jan 2024 02:39:17 +0000 Subject: [PATCH] plan9: Check in 9front laptop config --- plan9/README | 7 +++++++ plan9/lib/git/config | 6 ++++++ plan9/lib/plumbing | 7 +++++++ plan9/src/net.sh | 5 +++++ plan9/src/res.sh | 2 ++ 5 files changed, 27 insertions(+) create mode 100644 plan9/README create mode 100644 plan9/lib/git/config create mode 100644 plan9/lib/plumbing create mode 100755 plan9/src/net.sh create mode 100755 plan9/src/res.sh diff --git a/plan9/README b/plan9/README new file mode 100644 index 0000000..2793c99 --- /dev/null +++ b/plan9/README @@ -0,0 +1,7 @@ +== Dotfiles for Plan 9 + +I'm running 9front.org on my laptop every once +and a while and I don't fully trust the filesystem +(or my rc(1) skills yet).. so as I start to get +valuable configuration, I'm checking it in here so +I don't lose it! diff --git a/plan9/lib/git/config b/plan9/lib/git/config new file mode 100644 index 0000000..ba67821 --- /dev/null +++ b/plan9/lib/git/config @@ -0,0 +1,6 @@ +[user] + name = Alex Karle + email = alex@alexkarle.com + +[core] + editor = E diff --git a/plan9/lib/plumbing b/plan9/lib/plumbing new file mode 100644 index 0000000..eb378fe --- /dev/null +++ b/plan9/lib/plumbing @@ -0,0 +1,7 @@ +# to update: cp /usr/glenda/lib/plumbing /mnt/plumb/rules + +editor = acme +browser = mothra + +include basic + diff --git a/plan9/src/net.sh b/plan9/src/net.sh new file mode 100755 index 0000000..128fee8 --- /dev/null +++ b/plan9/src/net.sh @@ -0,0 +1,5 @@ +#!/bin/rc +bind -a '#l1' /net +aux/wpa -p -2 -s 'SSID' /net/ether1 +ip/ipconfig ether /net/ether1 +cat /usr/glenda/ssh.key >/mnt/factotum/ctl diff --git a/plan9/src/res.sh b/plan9/src/res.sh new file mode 100755 index 0000000..6fd7198 --- /dev/null +++ b/plan9/src/res.sh @@ -0,0 +1,2 @@ +#!/bin/rc +@{rfork n; aux/realemu; aux/vga -m vesa -l 1366x768x16} -- libgit2 1.1.1