This commit is contained in:
parent
1648634933
commit
a0cc8a4fba
9 changed files with 24 additions and 7 deletions
|
@ -9,6 +9,8 @@ Host pve
|
||||||
HostName pve.strypsteen.com
|
HostName pve.strypsteen.com
|
||||||
Host infra
|
Host infra
|
||||||
HostName infra.server.home.arpa
|
HostName infra.server.home.arpa
|
||||||
|
Host gpu
|
||||||
|
HostName gpu.server.home.arpa
|
||||||
Host home
|
Host home
|
||||||
HostName home.server.home.arpa
|
HostName home.server.home.arpa
|
||||||
Host home-gw
|
Host home-gw
|
||||||
|
|
|
@ -6,7 +6,7 @@ server {
|
||||||
include snippets/local-only.conf;
|
include snippets/local-only.conf;
|
||||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'" always;
|
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'" always;
|
||||||
location / {
|
location / {
|
||||||
set $upstream gpu-vm.server.home.arpa;
|
set $upstream gpu.server.home.arpa;
|
||||||
proxy_pass https://$upstream:47990;
|
proxy_pass https://$upstream:47990;
|
||||||
proxy_ssl_verify off;
|
proxy_ssl_verify off;
|
||||||
include snippets/proxy.conf;
|
include snippets/proxy.conf;
|
||||||
|
|
4
gpu/etc/containers/containers.conf
Normal file
4
gpu/etc/containers/containers.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[containers]
|
||||||
|
userns="auto"
|
||||||
|
read_only=true
|
||||||
|
tz="local"
|
1
gpu/etc/hostname
Normal file
1
gpu/etc/hostname
Normal file
|
@ -0,0 +1 @@
|
||||||
|
gpu
|
4
gpu/var/usrlocal/share/applications/firefox.desktop
Normal file
4
gpu/var/usrlocal/share/applications/firefox.desktop
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Firefox
|
||||||
|
Type=Application
|
||||||
|
Hidden=true
|
|
@ -1,4 +0,0 @@
|
||||||
[Default Applications]
|
|
||||||
text/html=org.mozilla.firefox.desktop
|
|
||||||
x-scheme-handler/http=org.mozilla.firefox.desktop
|
|
||||||
x-scheme-handler/https=org.mozilla.firefox.desktop
|
|
7
setup-gpu.sh
Normal file
7
setup-gpu.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -euo pipefail
|
||||||
|
cp -R desktop/* gpu/* /
|
||||||
|
sh setup-desktop.sh
|
||||||
|
systemctl disable auditd
|
||||||
|
flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo
|
||||||
|
flatpak install com.github.tchx84.Flatseal com.valvesoftware.Steam net.lutris.Lutris org.chromium.Chromium org.gnome.Calculator org.gnome.FileRoller org.gnome.TextEditor org.mozilla.firefox
|
|
@ -3,6 +3,5 @@ set -euo pipefail
|
||||||
cp -R desktop/* laptop/* /
|
cp -R desktop/* laptop/* /
|
||||||
sh setup-desktop.sh
|
sh setup-desktop.sh
|
||||||
systemctl disable auditd
|
systemctl disable auditd
|
||||||
systemctl mask --global grub-boot-success.timer
|
|
||||||
flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo
|
||||||
flatpak install com.github.tchx84.Flatseal com.github.wwmm.easyeffects com.github.xournalpp.xournalpp com.moonlight_stream.Moonlight com.spotify.Client com.valvesoftware.Steam com.vscodium.codium com.yubico.yubioath im.riot.Riot io.mpv.Mpv net.lutris.Lutris org.chromium.Chromium org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox org.remmina.Remmina org.torproject.torbrowser-launcher
|
flatpak install com.github.tchx84.Flatseal com.github.wwmm.easyeffects com.github.xournalpp.xournalpp com.moonlight_stream.Moonlight com.spotify.Client com.valvesoftware.Steam com.vscodium.codium com.yubico.yubioath im.riot.Riot io.mpv.Mpv net.lutris.Lutris org.chromium.Chromium org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox org.remmina.Remmina org.torproject.torbrowser-launcher
|
||||||
|
|
6
setup.sh
6
setup.sh
|
@ -26,5 +26,9 @@ elif [ -d /usr/lib/coreos ]; then
|
||||||
sh setup-infra.sh
|
sh setup-infra.sh
|
||||||
fi
|
fi
|
||||||
elif [ -d /ostree ]; then
|
elif [ -d /ostree ]; then
|
||||||
sh setup-laptop.sh
|
if [ "$1" = laptop ]; then
|
||||||
|
sh setup-laptop.sh
|
||||||
|
elif [ "$1" = gpu ]; then
|
||||||
|
sh setup-gpu.sh
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue