sys

git clone git://mattcarlson.org/repos/sys.git
Log | Files | Refs

commit 1e61cb4252210f2d060ad3ef0db317ed5df86bce
parent 49e58b4a8b86dbc8e7cbf26db64e96cfd777ef8d
Author: Matthew Carlson <matt@mcarlson.xyz>
Date:   Mon, 23 Aug 2021 22:09:13 -0400

crontab; more doas cmds; added mkinitcpio; iwd now uses wlan interface

Diffstat:
Mboot/EFI/refind/refind.conf | 2+-
Aetc/crontab | 3+++
Metc/doas.conf | 5++++-
Aetc/mkinitcpio.conf | 4++++
Aetc/runit/sv/iwd/run | 4++++
5 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/boot/EFI/refind/refind.conf b/boot/EFI/refind/refind.conf @@ -13,7 +13,7 @@ use_nvram false # linux beacon menuentry 'Linux Beacon' { - icon /EFI/refind/icons/os_arch.png + icon /EFI/refind/icons/linux.png volume 'Linux Beacon' loader /vmlinuz-linux-beacon initrd /initramfs-linux-beacon.img diff --git a/etc/crontab b/etc/crontab @@ -0,0 +1,3 @@ +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/mail.sh -g' mc +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/pkgs.sh -g' mc +0 * * * * su -c '. ${HOME}/.profile; /home/${USER}/.local/bin/bar/rss.sh -g' mc diff --git a/etc/doas.conf b/etc/doas.conf @@ -2,5 +2,8 @@ permit persist nolog mc as root # cmds -permit nopass mc cmd shutdown permit nopass mc cmd ddcutil +permit nopass mc cmd pacman args -Sy +permit nopass mc cmd printf +permit nopass mc cmd shutdown +permit nopass mc cmd tee args "/sys/class/backlight/intel_backlight/brightness" diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf @@ -0,0 +1,4 @@ +MODULES=() +BINARIES=() +FILES=() +HOOKS=(base udev plymouth autodetect keyboard keymap modconf block plymouth-encrypt filesystems keyboard fsck) diff --git a/etc/runit/sv/iwd/run b/etc/runit/sv/iwd/run @@ -0,0 +1,4 @@ +#!/bin/sh +[ -r ./conf ] && . ./conf +exec 2>&1 +exec /usr/lib/iwd/iwd ${OPTS} 2>/dev/null