This commit is contained in:
2026-02-25 12:28:00 -05:00
parent f3f76283b3
commit db6534a1eb
7 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ pkgs, lib, ... }: {
options = {
scripts.output = lib.mkOption {
type = lib.types.package;
};
};
config = {
scripts.output = pkgs.writeShellApplication {
name = "map";
runtimeInputs = with pkgs; [ curl feh ];
text = ''
${./map.sh} size=640x640 scale=2 | feh -
'';
};
};
}