2023-12-16 00:22:34 +01:00
|
|
|
# Sources for this configuration:
|
|
|
|
# - https://github.com/NixOS/nixpkgs/issues/236736#issuecomment-1704670598
|
|
|
|
# - https://nixos.org/manual/nixos/stable/#sect-nixos-systemd-nixos
|
|
|
|
|
2024-11-21 03:05:53 +01:00
|
|
|
{ nixpkgs-unstable, ... }:
|
2023-12-16 00:22:34 +01:00
|
|
|
{
|
2024-11-21 03:05:53 +01:00
|
|
|
systemd.packages = [ nixpkgs-unstable.legacyPackages."x86_64-linux".qbittorrent-nox ];
|
2023-12-16 00:22:34 +01:00
|
|
|
|
|
|
|
systemd.services."qbittorrent-nox@torrent" = {
|
|
|
|
overrideStrategy = "asDropin";
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
};
|
|
|
|
}
|