fix(beets): bad cover art config
This commit is contained in:
parent
0c0245a8b4
commit
54d13d037e
3 changed files with 8 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (pkgs.writers) writeFishBin;
|
inherit (pkgs.writers) writeFishBin;
|
||||||
|
inherit (lib.my) getExe;
|
||||||
nixos-rebuild =
|
nixos-rebuild =
|
||||||
name: word:
|
name: word:
|
||||||
writeFishBin name ''
|
writeFishBin name ''
|
||||||
|
@ -56,10 +57,10 @@ in
|
||||||
|
|
||||||
nixedit = writeFishBin "nixedit" "env --chdir ~/.nixconf $EDITOR .";
|
nixedit = writeFishBin "nixedit" "env --chdir ~/.nixconf $EDITOR .";
|
||||||
|
|
||||||
getext = pkgs.writeScriptBin "ls | grep -E \"\.[a-zA-Z0-9]+$\" --only-matching | sort | uniq";
|
getext = pkgs.writeScriptBin "getext" "ls | grep -E \"\.[a-zA-Z0-9]+$\" --only-matching | sort | uniq";
|
||||||
|
|
||||||
rpaste = writeFishBin "rpaste" ''
|
rpaste = writeFishBin "rpaste" ''
|
||||||
${pkgs.rustypaste-cli}/bin/rpaste -a "$(cat ${config.age.secrets.rustypaste.path})" -s "https://rusty.ccnlc.eu/" $argv
|
${getExe pkgs.rustypaste-cli} -a "$(cat ${config.age.secrets.rustypaste.path})" -s "https://rusty.ccnlc.eu/" $argv
|
||||||
'';
|
'';
|
||||||
|
|
||||||
gentest = nixos-rebuild "gentest" "test";
|
gentest = nixos-rebuild "gentest" "test";
|
||||||
|
@ -76,7 +77,7 @@ in
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nruni = writeFishBin ''
|
nruni = writeFishBin "nruni" ''
|
||||||
export NIXPKGS_ALLOW_UNFREE=1;
|
export NIXPKGS_ALLOW_UNFREE=1;
|
||||||
export NIXPKGS_ALLOW_INSECURE=1
|
export NIXPKGS_ALLOW_INSECURE=1
|
||||||
|
|
||||||
|
@ -100,14 +101,14 @@ in
|
||||||
nixos-rebuild test \
|
nixos-rebuild test \
|
||||||
--flake ~/.nixconf#"$argv[1]" \
|
--flake ~/.nixconf#"$argv[1]" \
|
||||||
--target-host "$argv[1]" \
|
--target-host "$argv[1]" \
|
||||||
--use-remote-sudo &| ${pkgs.nix-output-monitor}/bin/nom
|
--use-remote-sudo &| ${getExe pkgs.nix-output-monitor}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
deployswitch = writeFishBin "deployswitch" ''
|
deployswitch = writeFishBin "deployswitch" ''
|
||||||
nixos-rebuild switch \
|
nixos-rebuild switch \
|
||||||
--flake ~/.nixconf#"$argv[1]" \
|
--flake ~/.nixconf#"$argv[1]" \
|
||||||
--target-host "$argv[1]" \
|
--target-host "$argv[1]" \
|
||||||
--use-remote-sudo &| ${pkgs.nix-output-monitor}/bin/nom
|
--use-remote-sudo &| ${getExe pkgs.nix-output-monitor}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ in
|
||||||
fetchart = {
|
fetchart = {
|
||||||
auto = true;
|
auto = true;
|
||||||
cover_format = "jpg";
|
cover_format = "jpg";
|
||||||
maxwidth = 500;
|
minheight = 500;
|
||||||
minwidth = 500;
|
minwidth = 500;
|
||||||
enforce_ratio = true;
|
enforce_ratio = true;
|
||||||
high_resolution = true;
|
high_resolution = true;
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
scripts.set-background
|
scripts.set-background
|
||||||
scripts.rpaste
|
scripts.rpaste
|
||||||
scripts.nrun
|
scripts.nrun
|
||||||
|
scripts.nruni
|
||||||
scripts.genswitch
|
scripts.genswitch
|
||||||
scripts.gentest
|
scripts.gentest
|
||||||
scripts.editsym
|
scripts.editsym
|
||||||
|
|
Loading…
Add table
Reference in a new issue