feat: add comments

This commit is contained in:
Ryan Yin
2023-06-17 22:53:09 +08:00
parent ef3c903582
commit 530f8498a1
7 changed files with 49 additions and 13 deletions
+10 -5
View File
@@ -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