diff --git a/hosts/common/programs/assorted.nix b/hosts/common/programs/assorted.nix index 08639ecb2..65246f915 100644 --- a/hosts/common/programs/assorted.nix +++ b/hosts/common/programs/assorted.nix @@ -106,6 +106,7 @@ in "rsync" # "s6-rc" # service manager # "screen" + "see-cat" # pretty-print equivalent to 'cat' "smartmontools" # smartctl # "socat" "strace" diff --git a/hosts/common/programs/default.nix b/hosts/common/programs/default.nix index 6ced133c3..5c25d70bc 100644 --- a/hosts/common/programs/default.nix +++ b/hosts/common/programs/default.nix @@ -176,6 +176,7 @@ ./sblast ./schlock.nix ./seatd.nix + ./see-cat.nix ./sfeed.nix ./shadow.nix ./signal-desktop.nix diff --git a/hosts/common/programs/see-cat.nix b/hosts/common/programs/see-cat.nix new file mode 100644 index 000000000..a2d8d54d9 --- /dev/null +++ b/hosts/common/programs/see-cat.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + sane.programs.see-cat = { + # if image rendering is enabled, "existing" may be too restrictive; + # grant access to the whole directory, as images are usually somewhere within that. + sandbox.autodetectCliPaths = "existingDirOrParent"; + }; +}