Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
2ab37d3298 move noisetorch to linux audio 2022-11-14 10:35:36 -05:00
Noah Masur
0176b14350 move qr to nautilusg 2022-11-14 10:35:16 -05:00
4 changed files with 10 additions and 6 deletions

View File

@ -15,6 +15,5 @@
}
'';
};
programs.noisetorch.enable = true;
};
}

View File

@ -7,6 +7,13 @@
gnome.nautilus
gnome.sushi # Quick preview with spacebar
];
programs.fish.functions = {
qr = {
body =
"${pkgs.qrencode}/bin/qrencode $argv[1] -o /tmp/qr.png | ${pkgs.gnome.sushi}/bin/sushi /tmp/qr.png";
};
};
};
};

View File

@ -39,6 +39,9 @@ in {
pulse.enable = true;
};
# Provides audio source with background noise filtered
programs.noisetorch.enable = true;
# These aren't necessary, but helpful for the user
environment.systemPackages = with pkgs; [
pamixer # Audio control

View File

@ -59,11 +59,6 @@ in {
argumentNames = "target";
body = "${pkgs.prettyping}/bin/prettyping --nolegend $target";
};
qr = {
# Fix for non-macOS
body =
"${pkgs.qrencode}/bin/qrencode $argv[1] -o /tmp/qr.png | ${pkgs.gnome.sushi}/bin/sushi /tmp/qr.png";
};
};
};