mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-16 17:51:08 +02:00
feat: add comments
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
# copy from https://github.com/NixOS/nixpkgs/issues/119433#issuecomment-1326957279
|
||||
# mainly for flatpak
|
||||
# bindfs resolves all symlink,
|
||||
# allowing all fonts to be accessed at `/usr/share/fonts`
|
||||
# without letting /nix into the sandbox.
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
###################################################################################
|
||||
#
|
||||
# Copy from https://github.com/NixOS/nixpkgs/issues/119433#issuecomment-1326957279
|
||||
# Mainly for flatpak
|
||||
# 1. bindfs resolves all symlink,
|
||||
# 2. allowing all fonts to be accessed at `/usr/share/fonts`
|
||||
# 3. without letting /nix into the sandbox.
|
||||
#
|
||||
###################################################################################
|
||||
|
||||
system.fsPackages = [ pkgs.bindfs ];
|
||||
fileSystems =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user