#W# Initial Commit: NixOS

This commit is contained in:
WarrentyExpired 2026-07-30 09:20:57 -04:00
commit f79adc1a63
77 changed files with 15125 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ pkgs, ... }:
let
# This packages your script and its dependencies
nerdfont-search = pkgs.writeShellScriptBin "nfPicker" ''
# We reference the CSV file.
# If you put nerdfont.csv in the same folder as this nix file:
CSV_PATH="${../files/nerdfont.csv}"
# Run the pipeline using packages from the Nix store
cat "$CSV_PATH" | ${pkgs.fuzzel}/bin/fuzzel -d | ${pkgs.gawk}/bin/gawk -F, '{printf $3}' | ${pkgs.wl-clipboard}/bin/wl-copy
${pkgs.wl-clipboard}/bin/wl-paste
'';
in
{
home.packages = [
nerdfont-search
];
}