Simplify doas config

This commit is contained in:
2025-09-30 00:01:01 -04:00
parent 9cbabb58c9
commit 1d6d89be05
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -50,7 +50,6 @@ func main() {
case 4:
mountPartition()
removals()
// TODO remove config/data
case 5:
mountPartition()
applications()
+2 -2
View File
@@ -20,10 +20,10 @@ func system() {
doAll = true
fallthrough
case 3:
// TODO fix!
writeFile(mountPoint+"/etc/doas.conf", "permit persist keepenv :wheel as root\n", "root", 0644)
managePackage("-S", "opendoas")
//chrootCommandRun([]string{"pacman", "-R", "sudo", "qt-sudo", "--noconfirm"})
chrootCommandRun([]string{"pacman", "-S", "--asexplicit", "--dbonly", "archlinux-keyring", "autoconf", "automake", "binutils", "bison", "debugedit", "fakeroot", "file", "findutils", "flex", "gawk", "gcc", "gettext", "grep", "groff", "gzip", "libtool", "m4", "make", "pacman", "patch", "pkgconf", "sed", "texinfo", "which", "--noconfirm"})
chrootCommandRun([]string{"pacman", "-R", "sudo", "qt-sudo", "--noconfirm"})
if !doAll {
break