mirror of
https://github.com/kmein/niveum
synced 2026-03-20 12:01:06 +01:00
yta: download opus
This commit is contained in:
@@ -106,7 +106,7 @@ in
|
|||||||
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
||||||
im = "${pkgs.openssh}/bin/ssh weechat@makanek -t tmux attach-session -t IM";
|
im = "${pkgs.openssh}/bin/ssh weechat@makanek -t tmux attach-session -t IM";
|
||||||
yt = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata -ic"; # Download video link
|
yt = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata -ic"; # Download video link
|
||||||
yta = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata --audio-format opus --audio-quality 0 -xic"; # Download with audio
|
yta = "${pkgs.yt-dlp}/bin/yt-dlp --add-metadata --audio-format mp3 --audio-quality 0 -xic"; # Download with audio
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (import ../../lib) kieran retiolumAddresses restic;
|
inherit (import ../../lib) kieran retiolumAddresses restic;
|
||||||
@@ -14,8 +15,8 @@ in {
|
|||||||
./hledger.nix
|
./hledger.nix
|
||||||
./go-webring.nix
|
./go-webring.nix
|
||||||
./gemini.nix
|
./gemini.nix
|
||||||
|
./ical-ephemeris.nix
|
||||||
./wallabag.nix
|
./wallabag.nix
|
||||||
./alew.nix
|
|
||||||
../../configs/monitoring.nix
|
../../configs/monitoring.nix
|
||||||
../../configs/mycelium.nix
|
../../configs/mycelium.nix
|
||||||
../../configs/tor.nix
|
../../configs/tor.nix
|
||||||
@@ -71,14 +72,6 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."ical-ephemeris.kmein.de" = {
|
|
||||||
addSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/" = {
|
|
||||||
root = "/var/www/ical-ephemeris";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.servant = {
|
users.users.servant = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "servant";
|
group = "servant";
|
||||||
|
|||||||
24
systems/ful/ical-ephemeris.nix
Normal file
24
systems/ful/ical-ephemeris.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
services.nginx.virtualHosts."ical-ephemeris.kmein.de" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:9090";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.ical-ephemeris = {
|
||||||
|
enable = true;
|
||||||
|
port = 9090;
|
||||||
|
brevoApiKeyFile = config.age.secrets.brevo-key.path;
|
||||||
|
baseUrl = "https://ical-ephemeris.kmein.de";
|
||||||
|
};
|
||||||
|
|
||||||
|
age.secrets.brevo-key = {
|
||||||
|
file = ../../secrets/brevo-key.age;
|
||||||
|
owner = "ical-ephemeris";
|
||||||
|
group = "ical-ephemeris";
|
||||||
|
mode = "0400";
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user