summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/canonical-system.sh
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:37 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:37 +0100
commitf9e25d7e30205756088e7dd330b8070fb5195ae9 (patch)
treef5da3f7975e90a50c437e4c00748ee2ddf2867c8 /scripts/canonical-system.sh
parent2f97417d16224ca1f79b2fe41e70b8d7ddc0ab7d (diff)
downloaddotfiles-f9e25d7e30205756088e7dd330b8070fb5195ae9.tar.gz
dotfiles-f9e25d7e30205756088e7dd330b8070fb5195ae9.tar.bz2
dotfiles-f9e25d7e30205756088e7dd330b8070fb5195ae9.zip
Permit the Mattermost Snap to use GNOME Keyring
Diffstat (limited to 'scripts/canonical-system.sh')
-rw-r--r--scripts/canonical-system.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/canonical-system.sh b/scripts/canonical-system.sh
index e6f0825..cd85879 100644
--- a/scripts/canonical-system.sh
+++ b/scripts/canonical-system.sh
@@ -13,6 +13,10 @@ sudo apparmor_parser --skip-kernel-load --skip-cache canonical/apparmor/dotfiles
sudo install -m 644 canonical/apparmor/dotfiles-nix /etc/apparmor.d/dotfiles-nix
sudo apparmor_parser --replace /etc/apparmor.d/dotfiles-nix
sudo snap connect thunderbird:gpg-keys
+sudo install -D -m 644 scripts/mattermost_keyring.py /usr/local/lib/dotfiles/mattermost_keyring.py
+sudo install -m 644 canonical/systemd/dotfiles-mattermost-keyring.{service,path} /etc/systemd/system/
+sudo systemctl daemon-reload
+sudo systemctl enable --now dotfiles-mattermost-keyring.path dotfiles-mattermost-keyring.service
systemctl --user daemon-reload
systemctl --user enable --now gpg-agent.socket gpg-agent-ssh.socket podman.socket
echo 'Existing GPG agent processes keep their executable until the next login.'