From 6d4502f3d792b5f40537da256f15abe52199f332 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 24 Jul 2026 19:45:39 -0700 Subject: [PATCH] Own the zram-generator config in omarchy-settings The settings package now ships /etc/systemd/zram-generator.conf, so it needs a backup entry to protect user edits across upgrades like every other file it places in /etc, and an optdepends line pointing at the package that reads it. Co-Authored-By: Claude Opus 5 (1M context) --- pkgbuilds/omarchy-settings-dev/PKGBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgbuilds/omarchy-settings-dev/PKGBUILD b/pkgbuilds/omarchy-settings-dev/PKGBUILD index 094a645..c5505f5 100644 --- a/pkgbuilds/omarchy-settings-dev/PKGBUILD +++ b/pkgbuilds/omarchy-settings-dev/PKGBUILD @@ -62,6 +62,7 @@ backup=( 'etc/systemd/system/plocate-updatedb.service.d/ac-only.conf' 'etc/systemd/system.conf.d/20-omarchy-nofile.conf' 'etc/systemd/user.conf.d/20-omarchy-nofile.conf' + 'etc/systemd/zram-generator.conf' 'etc/sddm.conf.d/10-theme.conf' 'etc/sddm.conf.d/10-wayland.conf' 'etc/udev/rules.d/99-omarchy-power-profile.rules' @@ -75,6 +76,7 @@ optdepends=( 'limine: Bootloader the shipped /etc/mkinitcpio.conf.d/ and /etc/limine-entry-tool.d/ drop-ins are for' 'limine-mkinitcpio-hook: Picks up the shipped /etc/mkinitcpio.conf.d/omarchy_hooks.conf' 'limine-snapper-sync: Boot-entry sync for snapper snapshots' + 'zram-generator: Reads the shipped /etc/systemd/zram-generator.conf to create the compressed swap device' 'snapper: Used with the shipped /etc/snapper/config-templates/omarchy template' )