Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/deployments
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-12 07:09:56 +0000
committerGitHub <noreply@github.com>2019-06-12 07:09:56 +0000
commit652e77c20cb24a34528961386ad6745cd22a7507 (patch)
tree0d88bc3a394832f045e69ddad2539e0de5991dad /deployments
parentedfdfe8b32348bef02a3b59465672a83a6fd16cf (diff)
Create 38:00:25:5a:ed:d5.json
Diffstat (limited to 'deployments')
-rw-r--r--deployments/38:00:25:5a:ed:d5.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/deployments/38:00:25:5a:ed:d5.json b/deployments/38:00:25:5a:ed:d5.json
new file mode 100644
index 00000000..3847223f
--- /dev/null
+++ b/deployments/38:00:25:5a:ed:d5.json
@@ -0,0 +1,22 @@
+{
+ "args" : {
+ "include" : "workstation",
+ "user" : "anton",
+ "password" : "<STDIN>",
+ },
+ "post" : {
+ "Configure laptop" : {
+ "pacman -Syy --noconfirm opencl-nvidia nvidia xorg-xrandr" : {"pass-args" : true},
+ "echo 'XTerm.vt100.faceName: Liberation Mono:size=8,antialias=false' > /mnt/etc/skel/.Xresources" : {"no-chroot" : true},
+ "echo 'XTerm.vt100.font: 7x13' >> /mnt/etc/skel/.Xresources" : {"no-chroot" : true},
+ "wget https://raw.githubusercontent.com/Torxed/Scripts/master/bash/backlight -O /usr/bin/backlight" : {"pass-args" : true},
+ "wget https://raw.githubusercontent.com/Torxed/Scripts/master/bash/bat.sh -O /usr/bin/bat" : {"pass-args" : true},
+ "echo 'Section \"Module\"\n\þLoad \"modesetting\"\nEndSection' >> /mnt/etc/X11/xorg.conf" : {"no-chroot" : true},
+ "echo 'Section \"Device\"\n\tIdentifier \"nvidia\"\n\tDriver \"nvidia\"\n\tBusID \"1:0:0\"\n\tOption \"AllowEmptyInitialConfiguration\"\nEndSection' >> /mnt/etc/X11/xorg.conf" : {"no-chroot" : true}
+ },
+ "Setup user" : {
+ "useradd -m -G wheel -s /bin/bash anton" : null,
+ "sh -c \"echo {user}:{password} | chpasswd\"" : {"pass-args" : true}
+ }
+ }
+}