1

README + comments

This commit is contained in:
2022-08-11 14:35:36 +02:00
parent e903b048e9
commit a4e3b7a175
6 changed files with 26 additions and 17 deletions

View File

@ -7,8 +7,6 @@ with mylib.modules;
# It is important that every flatpak interaction is handled through this module
# to prevent that anything is removed by a module although it is required by another one
# TODO: Also need a library function to enable and concatenate different flatpak overrides (also global overrides)
let
cfg = config.modules.flatpak;
in {
@ -78,11 +76,12 @@ in {
{
".local/share/flatpak/overrides/global".text = let
default_overrides = [
"/nix/store:ro"
# These are not necessary
# Make sure flatpaks are allowed to use the icons/fonts that are symlinked by icon/font fix
# "/run/current-system/sw/share/X11/fonts:ro"
# "/run/current-system/sw/share/icons:ro"
"/nix/store:ro"
];
all_overrides = builtins.concatLists [ default_overrides cfg.extraGlobalOverride ];