feat: cleaned up fresh.sh, added yubikey related packages
This commit is contained in:
parent
718274b786
commit
d309d02db9
16
fresh.sh
16
fresh.sh
@ -1,10 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# TODO: localegen etc
|
||||
|
||||
scriptdir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
|
||||
logfile="/dev/null"
|
||||
todo="install"
|
||||
|
||||
# Get params
|
||||
while getopts "r:p:d:vush" opt;
|
||||
@ -21,10 +17,13 @@ do case $opt in
|
||||
esac
|
||||
done
|
||||
|
||||
# Default settings
|
||||
device=${device:="480"}
|
||||
repo=${repo:="https://toerd@g.phga.de/toerd/dotfiles"}
|
||||
prog=${prog:="$scriptdir/pack.csv"}
|
||||
aurhelper=${aurhelper:="yay"}
|
||||
logfile=${logfile:="/dev/null"}
|
||||
todo=${todo:="install"}
|
||||
|
||||
|
||||
startup_msg() {
|
||||
@ -182,10 +181,9 @@ com() {
|
||||
|
||||
add_after() {
|
||||
# Example:
|
||||
# add_after "Color" 'tt="ILoveCandy"' "$HOME/test/pacman.conf"
|
||||
# add_after "Color" 'tt="ILoveCandy"' "$HOME/test/pacman.conf"
|
||||
# add_after "Color" "ILoveCandy" "$HOME/test/pacman.conf"
|
||||
sed -i '/$2/d'
|
||||
sed -i '/'"$1"'/a '"$2"'' $3
|
||||
# BUG adds the config bit even if it already exists
|
||||
}
|
||||
|
||||
add_xorg_conf() {
|
||||
@ -215,9 +213,9 @@ set_pacman_config() {
|
||||
|
||||
set_git_config() {
|
||||
sudo -u $uname git config --global user.email "philipg@posteo.de"
|
||||
sudo -u $uname git config --global user.name "Toerd@"$(hostname)
|
||||
sudo -u $uname git config --global user.name "toerd@"$(hostname)
|
||||
sudo -u $uname git config --global credential.useHttpPath true
|
||||
sudo -u $uname git config --global credential.helper /usr/bin/pass-git-helper
|
||||
# sudo -u $uname git config --global credential.helper /usr/bin/pass-git-helper
|
||||
}
|
||||
|
||||
set_system_stuff() {
|
||||
|
5
pack.csv
5
pack.csv
@ -6,7 +6,6 @@
|
||||
# BASE
|
||||
A,P,dosfstools,DOS filesystem utilities
|
||||
A,P,efibootmgr,Tool to modify UEFI Firmware Boot Manager Variables
|
||||
A,P,gptfdisk,A text-mode partitioning tool that works on GUID Partition Table (GPT) disks
|
||||
A,P,exfat-utils,Utilities for exFAT file system
|
||||
A,P,nfs-utils,Support programs for Network File Systems
|
||||
A,P,xfsprogs,XFS filesystem utilities
|
||||
@ -16,8 +15,8 @@ L,P,acpid,A daemon for delivering ACPI power management events with netlink supp
|
||||
L,P,acpi_call,battery recalibration
|
||||
L,P,tlp,better battery life
|
||||
A,P,openssh,Premier connectivity tool for remote login with the SSH protocol
|
||||
A,P,opensc,Used to provide ssh key via yubikey
|
||||
A,P,yubico-pam,library to use pam auth with yubikeys
|
||||
A,P,gnupg,Complete and free implementation of the OpenPGP standard
|
||||
A,P,oath-toolkit,library to use OATH-pam auth with yubikeys
|
||||
|
||||
# libraries
|
||||
A,M,pyorgmode,lib to create and modify orgmode files used in quteb script
|
||||
|
|
Loading…
x
Reference in New Issue
Block a user