diff --git a/flake.nix b/flake.nix index c7c435b..382bca6 100644 --- a/flake.nix +++ b/flake.nix @@ -57,7 +57,7 @@ # i be on my puter fr myputer = nixpkgs.lib.nixosSystem { # nix passes these to every single module - specialArgs = {inherit inputs;}; + specialArgs = {inherit inputs pkgs-unstable;}; modules = [ ./hosts/myputer @@ -67,7 +67,7 @@ # my laptop 0w0 lolcathost = nixpkgs.lib.nixosSystem { - specialArgs = {inherit inputs;}; + specialArgs = {inherit inputs pkgs-unstable;}; modules = [ ./hosts/lolcathost diff --git a/scripts/fontgrep b/scripts/fontgrep new file mode 100755 index 0000000..6e06a64 --- /dev/null +++ b/scripts/fontgrep @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +function fontgrep { + fc-list \ + | grep $@ \ + | awk '{$1=""; print substr($0, 2, length($0)-1) }' \ + | grep -oE '^\s*[^,]+' \ + | sort \ + | uniq +} + +fontgrep $@