-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3108c32
commit a9e94f6
Showing
65 changed files
with
2,360 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
FROM ubuntu:jammy | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV NO_COLOR=0 | ||
ARG GIDH=999 | ||
ARG UIDH=999 | ||
ARG USER=bot | ||
ENV TERM=xterm-256color | ||
WORKDIR /opt/dotfiles | ||
|
||
RUN apt-get update | ||
RUN apt-get update && \ | ||
apt-get --no-install-recommends --yes install \ | ||
sudo locales apt-utils dialog | ||
|
||
# to turn tests fast | ||
RUN apt-get --yes upgrade | ||
RUN apt-get install --yes \ | ||
curl \ | ||
fontconfig \ | ||
gconf2 \ | ||
git \ | ||
gnome-shell-extensions \ | ||
libglib2.0-bin \ | ||
make \ | ||
python3-pip \ | ||
sudo \ | ||
ttf-mscorefonts-installer | ||
RUN apt-get --no-install-recommends --yes install \ | ||
git | ||
# to turn tests fast | ||
|
||
RUN groupadd -g ${GIDH} ${USER} && \ | ||
useradd --create-home -u ${UIDH} -g ${GIDH} ${USER} && \ | ||
usermod -a -G sudo,${USER} ${USER} && \ | ||
echo "${USER} ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers | ||
|
||
ENTRYPOINT [ "make", "setup" ] | ||
ENTRYPOINT [ "./install-pristine" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
|
||
############## | ||
# Testing!!! # | ||
############## | ||
|
||
|
||
arm_boost=0 | ||
audio_pwm_mode=1 | ||
camera_auto_detect=0 | ||
disable_audio_dither=1 | ||
disable_camera_led=1 | ||
disable_poe_fan=1 | ||
disable_splash=1 | ||
disable_touchscreen=1 | ||
display_auto_detect=1 | ||
dtparam=audio=off | ||
dtparam=i2c_arm=off | ||
dtparam=i2s=off | ||
dtparam=spi=off | ||
enable_tvout=0 | ||
enable_uart=1 | ||
hdmi_enable_4kp60=0 | ||
ignore_lcd=1 | ||
|
||
|
||
|
||
|
||
|
||
|
||
# [output:HDMI-A-1] | ||
# mode = 1920x1080@60 | ||
# transform = 270 # not required | ||
|
||
|
||
|
||
# check voltage | ||
# vcgencmd pmic_read_adc EXT5V_V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
#!/usr/bin/env zsh | ||
|
||
function antigen_setup() { | ||
log_info "antigen_setup" | ||
log info "antigen_setup" | ||
|
||
# shellcheck source=/dev/null | ||
# . "${DOTFILES}/zsh/functions/shell.zsh" | ||
|
||
antigen_start | ||
|
||
log_debug "antigen use oh-my-zsh" | ||
log debug "antigen use oh-my-zsh" | ||
antigen use oh-my-zsh | ||
|
||
local plugins | ||
plugins=$(file_lines_2_inline "${DOTFILES}/zsh/plugins.txt") | ||
log_info "zsh plugins: $plugins" | ||
log info "zsh plugins: $plugins" | ||
antigen bundle "$plugins" | ||
|
||
local plugins | ||
plugins=$(file_lines_2_inline "${DOTFILES}/ohmyzsh/plugins.txt") | ||
log_info "ohmyzsh plugins: $plugins" | ||
log info "ohmyzsh plugins: $plugins" | ||
antigen bundle "$plugins" | ||
|
||
log_debug "antigen theme robbyrussell" | ||
log debug "antigen theme robbyrussell" | ||
antigen theme robbyrussell | ||
|
||
log_debug "antigen apply" | ||
log debug "antigen apply" | ||
antigen apply | ||
|
||
log_debug "antigen cache-gen" | ||
log debug "antigen cache-gen" | ||
antigen cache-gen | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env zsh | ||
|
||
function antigen_start() { | ||
log_info "antigen_start" | ||
log info "antigen_start" | ||
. "$ANTIGEN_PATH" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/usr/bin/env bash | ||
|
||
# shellcheck source=/dev/null | ||
# . "${DOTFILES}/zsh/functions/log" | ||
|
||
log start "setup apt packages" | ||
|
||
log info "install base apt packages" | ||
|
||
sudo apt-get install --no-install-recommends --yes \ | ||
$(cat apt/base.yaml | grep -v '\s+#' | yq '.[2].apt_in') | ||
|
||
log info "purge base apt packages" | ||
|
||
sudo apt-get purge --yes \ | ||
$(cat apt/base.yaml | grep -v '\s+#' | yq '.[3].apt_out') | ||
|
||
# shellcheck source=/dev/null | ||
. "${DOTFILES}/apt/setup-sources" | ||
|
||
log info "install 3rd party apt packages" | ||
|
||
sudo apt-get install --no-install-recommends --yes \ | ||
$(cat apt/3rd_party.yaml | grep -v '\s+#' | yq '.[2].apt') | ||
|
||
log info "fixing broken apt packages" | ||
|
||
sudo apt-get install --no-install-recommends --yes -f | ||
|
||
log info "install pro apt packages" | ||
|
||
sudo apt-get install --no-install-recommends --yes \ | ||
$(cat apt/pro.yaml | grep -v '\s+#' | yq '.[2].apt') | ||
|
||
log info "install other apt packages" | ||
|
||
sudo apt-get install --no-install-recommends --yes \ | ||
ttf-mscorefonts-installer | ||
|
||
log info "remove hold apt packages" | ||
|
||
sudo dpkg --get-selections | \ | ||
grep hold | xargs -x sudo apt-get autoremove | ||
|
||
log finish "setup apt packages" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# shellcheck source=/dev/null | ||
# . "${DOTFILES}/zsh/functions/log" | ||
|
||
log start "pre setup apt" | ||
|
||
sudo apt-get update | ||
sudo apt-get --yes upgrade | ||
|
||
command -v git &>/dev/null || sudo apt-get --yes install git | ||
|
||
log finish "pre setup apt" |
Oops, something went wrong.