more apps added
This commit is contained in:
@@ -145,6 +145,21 @@ function dash_to_panel() {
|
|||||||
echo dash_to_panel >>/tmp/installer
|
echo dash_to_panel >>/tmp/installer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function qemu() {
|
||||||
|
info "Install qemu binaries"
|
||||||
|
apt install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager libnss-libvirt qemu-user-static binfmt-support
|
||||||
|
echo qemu >>/tmp/installer
|
||||||
|
}
|
||||||
|
|
||||||
|
function chrome() {
|
||||||
|
info "Install chrome binaries"
|
||||||
|
cd /tmp
|
||||||
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
|
sudo apt install ./google-chrome-stable_current_amd64.deb
|
||||||
|
cd -
|
||||||
|
echo chrome >>/tmp/installer
|
||||||
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
desktop || true
|
desktop || true
|
||||||
docker || true
|
docker || true
|
||||||
@@ -153,6 +168,8 @@ function main() {
|
|||||||
displaylink_driver || true
|
displaylink_driver || true
|
||||||
zscaler || true
|
zscaler || true
|
||||||
dash_to_panel || true
|
dash_to_panel || true
|
||||||
|
qemu || true
|
||||||
|
chrome || true
|
||||||
|
|
||||||
# ─── SSH ─────────────────────────────────────────────────────────────────────
|
# ─── SSH ─────────────────────────────────────────────────────────────────────
|
||||||
info "Enabling SSH..."
|
info "Enabling SSH..."
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ _user=alfoldi
|
|||||||
_hostname=nokia-l13g4-sisu
|
_hostname=nokia-l13g4-sisu
|
||||||
_port=22
|
_port=22
|
||||||
|
|
||||||
_hostname=localhost
|
# _hostname=localhost
|
||||||
_port=12222
|
# _port=12222
|
||||||
|
|
||||||
# _ssh=alfoldi@nokia-l13g4-sisu
|
# _ssh=alfoldi@nokia-l13g4-sisu
|
||||||
# _ssh="-e 'ssh -p 12222' alfoldi@localhost"
|
# _ssh="-e 'ssh -p 12222' alfoldi@localhost"
|
||||||
@@ -21,7 +21,7 @@ function my_rsync() {
|
|||||||
rsync -avzP -e "ssh -F /tmp/sisu.ssh" "$@"
|
rsync -avzP -e "ssh -F /tmp/sisu.ssh" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
ssh -F /tmp/sisu.ssh nokia-sisu "bash -c '
|
ssh -qF /tmp/sisu.ssh nokia-sisu "bash -c '
|
||||||
sudo mkdir -p /persists/sops/age/
|
sudo mkdir -p /persists/sops/age/
|
||||||
sudo chown $USER -R /persists/sops/age/
|
sudo chown $USER -R /persists/sops/age/
|
||||||
'"
|
'"
|
||||||
@@ -29,7 +29,7 @@ sudo chown $USER -R /persists/sops/age/
|
|||||||
my_rsync --mkpath ~/.config/sops/age/keys.txt nokia-sisu:/persists/sops/age/
|
my_rsync --mkpath ~/.config/sops/age/keys.txt nokia-sisu:/persists/sops/age/
|
||||||
my_rsync ~/.ssh/ nokia-sisu:~/.ssh
|
my_rsync ~/.ssh/ nokia-sisu:~/.ssh
|
||||||
|
|
||||||
ssh -F /tmp/sisu.ssh nokia-sisu <<'EOF'
|
ssh -qF /tmp/sisu.ssh nokia-sisu <<'EOF'
|
||||||
mkdir -p ~/workspace/home/nix
|
mkdir -p ~/workspace/home/nix
|
||||||
cd ~/workspace/home/nix
|
cd ~/workspace/home/nix
|
||||||
git clone git@github.com:alfonzso/home-manager.git || true
|
git clone git@github.com:alfonzso/home-manager.git || true
|
||||||
|
|||||||
Reference in New Issue
Block a user