mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
configurations: updates to script, moniotoring and dcbot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#/usr/bin/env bash
|
||||
IFS=$'\n'
|
||||
|
||||
CONVERT="$(nix eval nixpkgs\#imagemagick.outPath | tr -d '"')/bin/convert"
|
||||
CONVERT="$(nix eval nixpkgs\#imagemagick.outPath | tr -d '"')/bin/magick"
|
||||
convert_cmd () {
|
||||
if ! command -v magick &> /dev/null; then $CONVERT "$@"; else convert "$@"; fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user