next #1

Open
sneak wants to merge 27 commits from next into master
6 changed files with 11 additions and 4 deletions
Showing only changes of commit c0d903524a - Show all commits

View File

@ -46,6 +46,8 @@ ARG SYSTEM_PACKAGES="\
tmux \ tmux \
" "
RUN /bin/bash -c "echo -e 'Y\n\n' | /usr/local/sbin/unminimize"
RUN \ RUN \
apt update && \ apt update && \
apt -y upgrade && \ apt -y upgrade && \

View File

@ -10,4 +10,4 @@ build:
2>&1 | tee -a build.log 2>&1 | tee -a build.log
enter: enter:
docker run -ti --rm=true -e HOME=/home/user -e USER=user --user=user -v /home/sneak:/home/user/.home sneak/work /home/user/.nix-profile/bin/zsh docker run -ti --rm=true -e HOME=/home/user -e USER=user --user=user -v /home/sneak:/home/user/.home sneak/work /home/user/.nix-profile/bin/zsh -l

View File

@ -44,7 +44,7 @@ ln -s /hostroot/root /root/.home
mkdir -p /home/user/.ssh mkdir -p /home/user/.ssh
cp /root/.ssh/authorized_keys /home/user/.ssh/authorized_keys cp /root/.ssh/authorized_keys /home/user/.ssh/authorized_keys
echo chown -Rv $UID_TO_ADD:$GID_TO_ADD /home/user chown -R $UID_TO_ADD:$GID_TO_ADD /home/user
chown -Rv $UID_TO_ADD:$GID_TO_ADD /home/user
echo "$USERNAME_TO_ADD ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/user echo "$USERNAME_TO_ADD ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/user

View File

@ -34,6 +34,7 @@ nix-env -i myPackages
# oh-my-zsh # oh-my-zsh
curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh > /tmp/installomz.sh curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh > /tmp/installomz.sh
export ZSH="$HOME/.zsh" export ZSH="$HOME/.zsh"
export KEEP_ZSHRC=yes
zsh /tmp/installomz.sh && rm /tmp/installomz.sh zsh /tmp/installomz.sh && rm /tmp/installomz.sh

View File

@ -0,0 +1,3 @@
#!/bin/bash
exec /usr/sbin/sshd -D

View File

@ -25,6 +25,7 @@
vim vim
weechat weechat
wget wget
zsh
]; ];
}; };