Also use flatpak on qubesos
All checks were successful
ShellCheck / shellcheck (push) Successful in 59s

This commit is contained in:
Mathieu Strypsteen 2024-06-15 20:29:18 +02:00
parent ce8712c3dd
commit f35e2da917
Signed by: mathieu
GPG key ID: 782A42E461BC6824
5 changed files with 8 additions and 12 deletions

View file

@ -2,12 +2,6 @@ server {
server_name matrix.strypsteen.com;
listen 443 ssl;
listen [::]:443 ssl;
location ~ ^/_matrix/media/[^/]+/(download|thumbnail)/(?!(strypsteen\.me)/) {
include snippets/headers.conf;
include snippets/csp.conf;
add_header Access-Control-Allow-Origin *;
return 307 https://matrix-client.matrix.org$request_uri;
}
location / {
set $upstream systemd-synapse.;
proxy_pass http://$upstream:8080;

View file

@ -1,5 +1,5 @@
FROM registry.access.redhat.com/ubi9 AS builder
RUN curl -L https://github.com/enricoros/big-AGI/archive/refs/tags/v1.16.1.tar.gz | tar xz && mv big-AGI-* big-AGI
RUN curl -L https://github.com/enricoros/big-AGI/archive/refs/tags/v1.16.2.tar.gz | tar xz && mv big-AGI-* big-AGI
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal
ENV NEXT_TELEMETRY_DISABLED 1
COPY --from=builder /big-AGI .

View file

@ -1,7 +1,7 @@
FROM quay.io/fedora/fedora-toolbox:40
RUN dnf up -y
RUN dnf install -y bash-color-prompt cargo hyperfine nodejs-npm openssl-devel poetry postgresql-server python3-ipykernel python3-pip rustfmt rust-src systemd-container vim-enhanced
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.89.1/code-server-4.89.1-amd64.rpm
RUN dnf install -y https://github.com/coder/code-server/releases/download/v4.90.2/code-server-4.90.2-amd64.rpm
RUN mkdir /etc/systemd/system/user@.service.d
RUN mkdir /var/lib/systemd/linger
RUN touch /var/lib/systemd/linger/coder

View file

@ -1,8 +1,9 @@
#!/bin/sh
set -e
cp -R desktop/* qubes-fedora/* /
dnf config-manager --set-enabled qubes-vm-r4.2-security-testing qubes-vm-r4.2-current-testing rpmfusion-free rpmfusion-free-updates
dnf install --allowerasing bash-color-prompt bash-completion bind-utils butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gcc gcc-gdb-plugin gjs glibc-all-langpacks helm htop hunspell-* imv kubernetes-client libreoffice mpv nautilus netcat nodejs-npm pipx qubes-ctap ShellCheck toolbox wireguard-tools whois xdg-desktop-portal-gtk yt-dlp
dnf remove cheese evolution-data-server gnome-software gnome-weather PackageKit-command-not-found rpmfusion-nonfree-release thunderbird totem
dnf config-manager --set-enabled qubes-vm-r4.2-security-testing qubes-vm-r4.2-current-testing
dnf install --allowerasing bash-color-prompt bash-completion bind-utils butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote file-roller fuse-sshfs gcc gcc-gdb-plugin glibc-all-langpacks helm htop kubernetes-client nautilus netcat nodejs-npm pipx qubes-ctap ShellCheck toolbox wireguard-tools whois xdg-desktop-portal-gtk yt-dlp
dnf remove cheese evolution-data-server firefox gnome-software gnome-weather PackageKit-command-not-found rpmfusion-nonfree-release thunderbird totem
sh setup-desktop.sh
ln -sf /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/* /etc/firefox
all_proxy=127.0.0.1:8082 flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo
all_proxy=127.0.0.1:8082 flatpak install com.github.tchx84.Flatseal io.mpv.Mpv org.chromium.Chromium org.libreoffice.LibreOffice org.mozilla.firefox

View file

@ -1,4 +1,5 @@
[Container]
HealthCmd=none
Image=docker.io/clamav/clamav
Network=mail.network
Tmpfs=/var/lib/clamav