index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:29 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-07-06 22:23:29 +0200 |
commit | d723dcf0d7c64f686fc6234a7da9649346d1f56f (patch) | |
tree | 36dceb8cd0dcb2d71294cf0d2bec8d76bee86756 /profiles/38:00:25:5a:ed:d5.json | |
parent | 4167946d815f2ab9c6ebf0c597f3b5f5f9723b1e (diff) |
-rw-r--r-- | profiles/38:00:25:5a:ed:d5.json | 22 |
diff --git a/profiles/38:00:25:5a:ed:d5.json b/profiles/38:00:25:5a:ed:d5.json new file mode 100644 index 00000000..3a8e1fb8 --- /dev/null +++ b/profiles/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\tLoad \"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} + } + } +} |