qbittorrent: fix various typos
This commit is contained in:
parent
112a86eee7
commit
d3503813c3
3 changed files with 8 additions and 8 deletions
|
|
@ -2,12 +2,12 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
./qbittorent.nix
|
./qbittorrent.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
settings.containers = {
|
settings.containers = {
|
||||||
jellyfin.enable = lib.mkDefault false;
|
jellyfin.enable = lib.mkDefault false;
|
||||||
qbittorent.enable = lib.mkDefault false;
|
qbittorrent.enable = lib.mkDefault false;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
options.settings.containers.qbittorent = {
|
options.settings.containers.qbittorrent = {
|
||||||
enable = lib.mkEnableOption "enable qbittorent arion container";
|
enable = lib.mkEnableOption "enable qbittorrent arion container";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.settings.containers.qbittorent.enable {
|
config = lib.mkIf config.settings.containers.qbittorrent.enable {
|
||||||
virtualisation.arion.projects.qbittorent = {
|
virtualisation.arion.projects.qbittorent = {
|
||||||
settings = {
|
settings = {
|
||||||
project.name = "qbittorent";
|
project.name = "qbittorrent";
|
||||||
services.qbittorent = {
|
services.qbittorent = {
|
||||||
service.useHostStore = true;
|
service.useHostStore = true;
|
||||||
service.image = "linuxserver/qbittorrent:latest";
|
service.image = "linuxserver/qbittorrent:latest";
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
"6881:6881/udp"
|
"6881:6881/udp"
|
||||||
];
|
];
|
||||||
service.volumes = [
|
service.volumes = [
|
||||||
"/config/qbittorent:/config"
|
"/config/qbittorrent:/config"
|
||||||
"/data/torrents:/torrents"
|
"/data/torrents:/torrents"
|
||||||
];
|
];
|
||||||
service.environment = {
|
service.environment = {
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
containers.jellyfin.enable = lib.mkForce true;
|
containers.jellyfin.enable = lib.mkForce true;
|
||||||
containers.qbittorent.enable = lib.mkForce true;
|
containers.qbittorrent.enable = lib.mkForce true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue