stuff
This commit is contained in:
parent
11187dc11c
commit
05595c2e14
28 changed files with 210 additions and 246 deletions
11
crates/00-system/crate.arch.sh
Normal file
11
crates/00-system/crate.arch.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
super_apply() {
|
||||
pacman -S --needed sudo reflector
|
||||
if ! grep -q "Reflector" /etc/pacman.d/mirrorlist; then
|
||||
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
|
||||
reflector -c NL -f 10 --threads 4 --save /etc/pacman.d/mirrorlist
|
||||
else
|
||||
echo "err: reflector already executed -- skipping..."
|
||||
fi
|
||||
|
||||
cp files/pacman.conf /etc/pacman.conf
|
||||
}
|
7
crates/00-system/crate.sh
Normal file
7
crates/00-system/crate.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
describe="Install stuff on the system!"
|
||||
|
||||
super_apply() {
|
||||
cp files/sudoers /etc/sudoers
|
||||
}
|
31
crates/00-system/files/pacman.conf
Normal file
31
crates/00-system/files/pacman.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
[options]
|
||||
HoldPkg = pacman glibc yay
|
||||
Architecture = auto
|
||||
|
||||
Color
|
||||
CheckSpace
|
||||
ParallelDownloads = 5
|
||||
|
||||
SigLevel = Required DatabaseOptional
|
||||
LocalFileSigLevel = Optional
|
||||
|
||||
#[testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[core]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#[community-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
#[multilib-testing]
|
||||
#Include = /etc/pacman.d/mirrorlist
|
||||
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
4
crates/00-system/files/sudoers
Normal file
4
crates/00-system/files/sudoers
Normal file
|
@ -0,0 +1,4 @@
|
|||
root ALL=(ALL:ALL) ALL
|
||||
%wheel ALL=(ALL:ALL) ALL
|
||||
%root ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
@includedir /etc/sudoers.d
|
Loading…
Add table
Add a link
Reference in a new issue