commit e2b653f10d10c1ab8dfc7f9c744557c514db898a
parent 12d54619bd883ab7dca7835b29ce0e5c7c74d3bc
Author: Damian Myrda <damian@prime8.dev>
Date: Mon, 2 Feb 2026 17:26:15 -0600
remove tpm2 keyring unlock
Diffstat:
4 files changed, 2 insertions(+), 34 deletions(-)
diff --git a/fedora/packages.txt b/fedora/packages.txt
@@ -40,7 +40,5 @@ python3-psutil
ripgrep
supergfxctl
trash-cli
-xorg-x11-drv-nvidia
-xorg-x11-drv-nvidia-cuda
yarnpkg
zoxide
diff --git a/link.sh b/link.sh
@@ -66,13 +66,12 @@ link_config "$PROGRAMS_DIR/zed/keymap.jsonc" "$HOME/.var/app/dev.zed.Zed/config/
link_config "$PROGRAMS_DIR/toshy/toshy_config.py" "$CONFIG_DIR/toshy/toshy_config.py"
# Systemd user services
-link_config "$PROGRAMS_DIR/systemd/user/g14-volume-sync.service" "$CONFIG_DIR/systemd/user/g14-volume-sync.service"
-link_config "$PROGRAMS_DIR/systemd/user/gnome-keyring-tpm2-unlock.service" "$CONFIG_DIR/systemd/user/gnome-keyring-tpm2-unlock.service"
mkdir -p "$HOME/.local/bin"
link_config "$PROGRAMS_DIR/systemd/g14-volume-sync" "$HOME/.local/bin/g14-volume-sync"
chmod +x "$HOME/.local/bin/g14-volume-sync"
+link_config "$PROGRAMS_DIR/systemd/user/g14-volume-sync.service" "$CONFIG_DIR/systemd/user/g14-volume-sync.service"
+link_config "$PROGRAMS_DIR/systemd/user/1password-ssh-agent.service" "$CONFIG_DIR/systemd/user/1password-ssh-agent.service"
systemctl --user daemon-reload
systemctl --user enable --now g14-volume-sync.service 2>/dev/null || true
-systemctl --user enable --now gnome-keyring-tpm2-unlock.service 2>/dev/null || true
echo "✅ Config symlinks complete!"
diff --git a/programs/systemd/user/gnome-keyring-tpm2-unlock.service b/programs/systemd/user/gnome-keyring-tpm2-unlock.service
@@ -1,13 +0,0 @@
-[Unit]
-Description=Unlock gnome-keyring via TPM2
-After=gnome-keyring-daemon.service
-Requires=gnome-keyring-daemon.service
-
-[Service]
-Type=oneshot
-ExecStart=/bin/bash -c 'sudo -u tss /usr/bin/clevis-decrypt-tpm2 < %h/.config/gnome-keyring.tpm2 | %h/.local/gnome-keyring-unlock/unlock.py'
-ExecCondition=/bin/test -f %h/.config/gnome-keyring.tpm2
-Environment=GNOME_KEYRING_CONTROL=%t/keyring
-
-[Install]
-WantedBy=default.target
diff --git a/setup.sh b/setup.sh
@@ -201,22 +201,6 @@ if [ -d "$RPMS_DIR" ]; then
fi
fi
-# Configure GDM theme if gdm-themes is installed
-if rpm -q gdm-themes &>/dev/null; then
- echo "Configuring GDM theme settings..."
- GDM_UID=$(id -u gdm)
- export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$GDM_UID/bus
-
- # Set GTK theme
- sudo -u gdm gsettings set org.gnome.desktop.interface gtk-theme 'WhiteSur-Dark-yellow' 2>/dev/null || {
- echo "Note: GDM theme will be applied on next boot (GDM session not currently active)"
- }
-
- # Set cursor theme
- sudo -u gdm gsettings set org.gnome.desktop.interface cursor-theme 'Banana' 2>/dev/null || true
- sudo -u gdm gsettings set org.gnome.desktop.interface cursor-size 24 2>/dev/null || true
-fi
-
# Symlink configs
"$SCRIPT_DIR/link.sh"