feat: add flaresolvarr, switch to podman, add alacritty padding

This commit is contained in:
Jacob Bachmann 2024-04-05 16:22:46 +02:00
parent fd14358bf7
commit 3105575c38
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
6 changed files with 41 additions and 12 deletions

View file

@ -61,7 +61,6 @@
./greetd.nix
./gstreamer.nix
./i18n.nix
./jackett.nix
./kdeconnect.nix
./keyd.nix
./man.nix
@ -75,6 +74,7 @@
./power.nix
./packages.nix
./printing.nix
./rr.nix
./security.nix
./shell.nix
./steam.nix

View file

@ -1,7 +0,0 @@
{
services.jackett = {
enable = true;
};
}

26
modules/rr.nix Normal file
View file

@ -0,0 +1,26 @@
{
services.jackett = {
enable = true;
};
virtualisation = {
oci-containers = {
backend = "podman";
containers = {
flare-solvarr = {
image = "ghcr.io/flaresolverr/flaresolverr:latest";
autoStart = true;
ports = ["127.0.0.1:8191:8191"];
environment = {
LOG_LEVEL = "info";
LOG_HTML = "false";
CAPTCHA_SOLVER = "hcaptcha-solver";
TZ="Europe/Berlin";
};
};
};
};
};
}

View file

@ -67,6 +67,7 @@
};
user = "gandalf";
group = "users";
dataDir = "/home/gandalf";
};

View file

@ -2,11 +2,14 @@
# virt-manager
virtualisation = {
docker = {
enable = true;
storageDriver = "btrfs";
};
libvirtd.enable = true;
podman = {
enable = true;
# create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
programs = {
dconf.enable = true;