mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Initial install script for iSH alpine setup
This commit is contained in:
parent
eba052c480
commit
8c9b4825ff
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
.gen
|
.gen
|
||||||
temp_bin
|
temp_bin
|
||||||
home/.chezmoidata.yaml
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
secret:
|
secret:
|
||||||
command: "rbw-get"
|
command: 'rbw-get'
|
||||||
|
3
home/.chezmoidata.yaml
Normal file
3
home/.chezmoidata.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
user: tstarr
|
||||||
|
network_interface: eth0
|
||||||
|
work: false
|
@ -1,8 +0,0 @@
|
|||||||
user: dudebro
|
|
||||||
hostname: *insert FTL ship here*
|
|
||||||
desktop: dwm (jk) # valid values: i3, gnome
|
|
||||||
network_interface: reeeeee
|
|
||||||
git_user: hAxOr
|
|
||||||
git_email: &my_email dude@bro.com
|
|
||||||
bitwarden_email: *my_email
|
|
||||||
work: false
|
|
5
home/.chezmoiscripts/run_after_chmod-ssh-keys.sh
Normal file
5
home/.chezmoiscripts/run_after_chmod-ssh-keys.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -f ~/.ssh/keys/github_personal ]; then
|
||||||
|
chmod 600 ~/.ssh/keys/github_personal
|
||||||
|
fi
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
chmod 600 ~/.ssh/keys/github_personal
|
|
24
home/bin/executable_alpine-install-iPhone
Normal file
24
home/bin/executable_alpine-install-iPhone
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# https://github.com/starr-dusT/dotfiles
|
||||||
|
|
||||||
|
# Install edge repo
|
||||||
|
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
|
apk update
|
||||||
|
|
||||||
|
# Install packages
|
||||||
|
apk add --virtual .packs \
|
||||||
|
task timewarrior git go make fzf neovim nnn rbw
|
||||||
|
|
||||||
|
# Build and install zk
|
||||||
|
mkdir -p ~/tmp
|
||||||
|
mkdir -p ~/bin
|
||||||
|
git clone https://github.com/mickael-menu/zk.git ~/tmp/zk
|
||||||
|
cd ~/tmp/zk
|
||||||
|
make
|
||||||
|
mv zk ~/bin/zk
|
||||||
|
|
||||||
|
# Clone dotfiles
|
||||||
|
git clone git@github.com:starr-dusT/dotfiles.git ~/.local/share/chezmoi
|
||||||
|
chezmoi init
|
||||||
|
chezmoi apply -k
|
||||||
|
chezmoi apply
|
@ -2,7 +2,7 @@
|
|||||||
# https://github.com/starr-dusT/dotfiles
|
# https://github.com/starr-dusT/dotfiles
|
||||||
|
|
||||||
# nixos
|
# nixos
|
||||||
alias nu="cd ~/.local/share/chezmoi/provision && \
|
alias nu="cd ~/.local/share/chezmoi/nixos/provision && \
|
||||||
sudo nixos-rebuild switch --flake .#$(hostname) && \
|
sudo nixos-rebuild switch --flake .#$(hostname) && \
|
||||||
cd -"
|
cd -"
|
||||||
# sway
|
# sway
|
||||||
|
23
provision/alpine/alpine-install-iSH.sh
Normal file
23
provision/alpine/alpine-install-iSH.sh
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# https://github.com/starr-dusT/dotfiles
|
||||||
|
|
||||||
|
# Install edge repo
|
||||||
|
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
||||||
|
apk update
|
||||||
|
|
||||||
|
# Install packages
|
||||||
|
apk add --virtual .packs \
|
||||||
|
task timewarrior git go \
|
||||||
|
make fzf neovim nnn rbw \
|
||||||
|
chezmoi openssh bash
|
||||||
|
|
||||||
|
# Build and install zk
|
||||||
|
mkdir -p ~/tmp
|
||||||
|
mkdir -p ~/bin
|
||||||
|
git clone https://github.com/mickael-menu/zk.git ~/tmp/zk
|
||||||
|
cd ~/tmp/zk
|
||||||
|
make
|
||||||
|
mv zk ~/bin/zk
|
||||||
|
|
||||||
|
# Clone dotfiles
|
||||||
|
git clone https://github.com/starr-dusT/dotfiles.git ~/.local/share/chezmoi
|
24
provision/alpine/readme.md
Normal file
24
provision/alpine/readme.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# Provision Alpine
|
||||||
|
> \*Funny joke here.\*
|
||||||
|
|
||||||
|
Set of configs files to setup Alpine Linux on iSH.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Run following to install:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apk add curl && \
|
||||||
|
curl https://raw.githubusercontent.com/starr-dusT/dotfiles/master/provision/alpine/alpine-install-iSH.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run the following commands:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rbw config set email <email>
|
||||||
|
chezmoi init
|
||||||
|
chezmoi apply -k # This command will fail
|
||||||
|
bash
|
||||||
|
chezmoi apply -k # This command will fail
|
||||||
|
chezmoi apply # First time don't overwrite file
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user