snap: Allow access to SSH keys and $HOME/.config/hugo

Closes #11288
This commit is contained in:
Joe Mooring 2023-07-26 22:15:21 -07:00 committed by GitHub
parent 739d10e8bd
commit 575d7f8068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,12 @@ plugs:
interface: personal-files
read:
- $HOME/.config/gcloud
dot-cache-hugo:
interface: personal-files
write:
- $HOME/.cache/hugo
ssh-keys:
interface: ssh-keys
environment:
HOME: $SNAP_REAL_HOME
@ -95,6 +101,8 @@ apps:
- dot-aws
- dot-azure
- dot-config-gcloud
- dot-cache-hugo
- ssh-keys
parts:
git: