Skip to content

Commit

Permalink
stylix: limit filesystem access for flatpak target
Browse files Browse the repository at this point in the history
  • Loading branch information
brckd committed Dec 18, 2024
1 parent 6499c65 commit 1035c47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/home/stylix/targets/flatpak/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

config = lib.mkIf (config.stylix.enable && config.stylix.targets.flatpak.enable) {
services.flatpak.overrides.global = {
Context.filesystems = ["/nix/store" config.home.homeDirectory];
Context.filesystems = ["${config.home.homeDirectory}/.themes/${config.gtk.theme.name}"];
Environment.GTK_THEME = config.gtk.theme.name;
};

Expand All @@ -25,7 +25,5 @@
cat "$config" >> $out/gtk-4.0/gtk.css
'';
};

gtk.theme.package = lib.mkDefault null;
};
}

0 comments on commit 1035c47

Please sign in to comment.