Revert "flatpak temp font and icon fix"

This reverts commit f1b5f0fde9.
This commit is contained in:
William 2024-03-10 11:12:13 -03:00
parent f1b5f0fde9
commit 4caf2312e7
2 changed files with 0 additions and 28 deletions

View file

@ -3,7 +3,6 @@
{
imports = [
./boot.nix
./flatpakfix.nix
./hardware.nix
./home-manager.nix
./impermanence.nix

View file

@ -1,27 +0,0 @@
{ pkgs, config, ... }:
{
# Using bindfs to create FHS font & icon directory
system.fsPackages = [ pkgs.bindfs ];
fileSystems = let
mkRoSymBind = path: {
device = path;
fsType = "fuse.bindfs";
options = [ "ro" "resolve-symlinks" "x-gvfs-hide" ];
};
aggregatedIcons = pkgs.buildEnv {
name = "system-icons";
paths = with pkgs; [ breeze-qt5 papirus-icon-theme ];
pathsToLink = [ "/share/icons" ];
};
aggregatedFonts = pkgs.buildEnv {
name = "system-fonts";
paths = config.fonts.packages;
pathsToLink = [ "/share/fonts" ];
};
in {
# Create an FHS mount to support flatpak host icons/fonts
"/usr/share/icons" = mkRoSymBind "${aggregatedIcons}/share/icons";
"/usr/share/fonts" = mkRoSymBind "${aggregatedFonts}/share/fonts";
};
}