Create the local fontconfig directory
mkdir -p ~/.config/fontconfig/conf.d/
Create a file in that directory for the Nix fonts
cat << EOF > ~/.config/fontconfig/conf.d/10-nix-fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<dir>~/.nix-profile/share/fonts/</dir>
</fontconfig>
EOFThe Nix installer has special handling for these proxy-related environment variables: http_proxy, https_proxy, ftp_proxy, no_proxy, HTTP_PROXY, HTTPS_PROXY, FTP_PROXY, NO_PROXY.
If any of these variables are set when running the Nix installer, then the installer will create an override file at /etc/systemd/system/nix-daemon.service.d/override.conf so nix-daemon will use them.
nix-store -q $(which tldr)
nix-store -q --tree $(which tldr)
nix run github:utdemir/nix-tree -- path/to/store
nix log $(which tldr)
nix path-info -r /run/current-system
[sudo] nix-store [--repair] --verify --check-contents
nix-store --query --referrers /nix/store/cvsa1c75253sassaqb8dv0mx7sq0gnnp-vvenc-1.13.0.drv
nix-locate to locate packages providing a certain file in nixpkgs
nix-locate 'bin/hello'
nix_direnv_watch_file your-file.nix
use nix # or use flake
nix run github:tiiuae/sbomnix#sbomnix -- [--cdx cdx.json] path/to/artifact
nix run github:tiiuae/sbomnix#vulnxscan -- path/to/store
nix build .#nixosConfigurations.hostname.config.system.build.toplevel
python = let
packageOverrides = self: super: {
setuptools = super.setuptools.overridePythonAttrs (old: rec {
version = "67.6.0";
src = super.fetchPypi {
pname = "setuptools";
inherit version;
hash = "sha256-LuiSzV8p8zcwl/WoFGl+OXzzzjE2Ft8K8RIx4q0RgHc=";
};
});
};
in
pkgs.python39.override {
inherit packageOverrides;
self = python;
};