From a3f6a5cef1518c8c8862de92773f2611dd239172 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 2 May 2025 19:35:45 +0200 Subject: [PATCH] add net.retrodeck.retrodeck with less permissions --- share/flatpak.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/flatpak.nix b/share/flatpak.nix index 2831df7..beb1f20 100644 --- a/share/flatpak.nix +++ b/share/flatpak.nix @@ -1,4 +1,5 @@ # based on https://www.reddit.com/r/NixOS/comments/1hzgxns/fully_declarative_flatpak_management_on_nixos/ +# to list permissions: flatpak info --show-permissions ... { config, lib, pkgs, ... }: let # default restrictions, applied globally and to all packs @@ -12,6 +13,7 @@ let "com.valvesoftware.Steam" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; "com.vivaldi.Vivaldi" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; "io.github.ungoogled_software.ungoogled_chromium" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; + "net.retrodeck.retrodeck" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures --nofilesystem=xdg-data/Steam --nofilesystem=~/.steam"; "org.kde.neochat" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; "org.mozilla.firefox" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures"; "org.signal.Signal" = "--nofilesystem=xdg-music --nofilesystem=xdg-pictures";