Add changes for work environment

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-06-04 15:36:05 +02:00
parent 44b0a1a882
commit 92c15e04d0
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
11 changed files with 43 additions and 22 deletions

17
install
View file

@ -101,6 +101,7 @@ PERMISSIONS=(
# Groups the user should be added to
ADD_GROUPS=(
"docker"
"log"
"wheel"
)
@ -318,28 +319,28 @@ sudo udevadm control --reload-rules
print_section "Copying other files"
print_log "Copying custom sudoers file to ${YELLOW}/etc/sudoers.d${RESET}"
sudo install -m 0440 "${SYSTEM_DIR}/etc/sudoers.d/severin" "/etc/sudoers.d"
sudo install -Dm 0440 "${SYSTEM_DIR}/etc/sudoers.d/severin" "/etc/sudoers.d"
print_log "Copying docker configuration to ${YELLOW}/etc/docker${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/docker/daemon.json" "/etc/docker"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/docker/daemon.json" "/etc/docker"
print_log "Copying zshenv to ${YELLOW}/etc/zsh${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/zsh/zshenv" "/etc/zsh"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/zsh/zshenv" "/etc/zsh"
print_log "Copying pacman.conf to ${YELLOW}/etc/pacman.conf${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/pacman.conf" "/etc/pacman.conf"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/pacman.conf" "/etc/pacman.conf"
print_log "Copying 20-displaylink.conf to ${YELLOW}/etc/X11/xorg.conf.d${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/xorg.conf.d"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/xorg.conf.d"
print_log "Copying 20-displaylink.conf to ${YELLOW}/etc/X11/nvidia-xorg.conf.d${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/nvidia-xorg.conf.d"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/X11/xorg.conf.d/20-displaylink.conf" "/etc/X11/nvidia-xorg.conf.d"
print_log "Copying vconsole.conf to ${YELLOW}/etc/vconsole.conf${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/vconsole.conf" "/etc/vconsole.conf"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/vconsole.conf" "/etc/vconsole.conf"
print_log "Copying mkinitcpio.conf to ${YELLOW}/etc/mkinitcpio.conf${RESET}"
sudo install -m 644 "${SYSTEM_DIR}/etc/mkinitcpio.conf" "/etc/mkinitcpio.conf"
sudo install -Dm 644 "${SYSTEM_DIR}/etc/mkinitcpio.conf" "/etc/mkinitcpio.conf"
###############################################################################
# Setting lockscreen image #