Compare commits

...

2 commits

2 changed files with 14 additions and 2 deletions

View file

@ -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

12
scripts/fontgrep Executable file
View file

@ -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 $@