initial upload

This commit is contained in:
2026-02-12 14:10:36 +01:00
commit 0e3133c1ce
15 changed files with 462 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[General]
AlwaysPairable=true
Privacy=device
ControllerMode=dual
JustWorksRepairing=always
[Policy]
AutoEnable=true
[LE]
MinConnectionInterval=7
MaxConnectionInterval=9
ConnectionLatency=0

View File

@@ -0,0 +1,2 @@
#!/bin/bash
export AMD_DEBUG=lowlatencyenc

View File

@@ -0,0 +1,7 @@
#!/bin/bash
export PROTON_ENABLE_HDR=1
export PROTON_ENABLE_WAYLAND=1
export DXVK_HDR=1
export ENABLE_HDR_WSI=1
export PROTON_FSR4_UPGRADE=1
export DXIL_SPIRV_CONFIG=wmma_rdna3_workaround

View File

@@ -0,0 +1,7 @@
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# For option meanings, see rpm-ostreed.conf(5).
[Daemon]
AutomaticUpdatePolicy=stage
IdleExitTimeout=60

View File

@@ -0,0 +1,8 @@
[Unit]
Description=Stage bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Service]
Type=oneshot
ExecStart=/usr/bin/bootc update --quiet

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Apply bootc updates
Documentation=man:bootc(8)
ConditionPathExists=/run/ostree-booted
[Timer]
OnBootSec=1h
OnUnitInactiveSec=8h
RandomizedDelaySec=2h
[Install]
WantedBy=timers.target

View File

@@ -0,0 +1,20 @@
[Unit]
Description=Workaround swtpm not having the correct label
ConditionFileIsExecutable=/usr/bin/swtpm
After=local-fs.target
[Service]
Type=oneshot
# Copy if it doesn't exist
ExecStartPre=/usr/bin/bash -c "[ -x /usr/local/bin/overrides/swtpm ] || /usr/bin/cp /usr/bin/swtpm /usr/local/bin/overrides/swtpm"
# This is faster than using .mount unit. Also allows for the previous line/cleanup
ExecStartPre=/usr/bin/mount --bind /usr/local/bin/overrides/swtpm /usr/bin/swtpm
# Fix SELinux label
ExecStart=/usr/sbin/restorecon /usr/bin/swtpm
# Clean-up after ourselves
ExecStop=/usr/bin/umount /usr/bin/swtpm
ExecStop=/usr/bin/rm /usr/local/bin/overrides/swtpm
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target