From baf557cd940f23bfba6fcdd2c02c6a9215764d43 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 16:48:53 -0800 Subject: migration: qbittorrent --- hosts/c-pc/home.nix | 5 ----- snowfall/homes/x86_64-linux/c/default.nix | 2 ++ snowfall/modules/home/apps/default.nix | 13 +++++++++++++ 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 snowfall/modules/home/apps/default.nix diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index 0bbe373..4f1f598 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -25,10 +25,6 @@ ".config/Obsidian" - ".config/qBittorrent" - ".local/share/qBittorrent" - ".cache/qBittorrent" - ".config/jellyfin" ".local/share/jellyfin" ".cache/jellyfin" @@ -58,7 +54,6 @@ irssi - qbittorrent nicotine-plus jellyfin-media-player mkvtoolnix diff --git a/snowfall/homes/x86_64-linux/c/default.nix b/snowfall/homes/x86_64-linux/c/default.nix index da64583..220f4dc 100644 --- a/snowfall/homes/x86_64-linux/c/default.nix +++ b/snowfall/homes/x86_64-linux/c/default.nix @@ -14,6 +14,8 @@ with lib; with lib.${namespace}; { }; apps.discord.enable = true; + apps.qbittorrent.enable = true; + apps.prismlauncher.extra.rusherhack.enable = true; tools.git = { diff --git a/snowfall/modules/home/apps/default.nix b/snowfall/modules/home/apps/default.nix new file mode 100644 index 0000000..7cf885d --- /dev/null +++ b/snowfall/modules/home/apps/default.nix @@ -0,0 +1,13 @@ +{ lib, namespace, ... }: + +with lib; with lib.${namespace}; { + imports = [ + (mkSimpleApp "qbittorrent" { + persist = [ + ".config/qBittorrent" + ".local/share/qBittorrent" + ".cache/qBittorrent" + ]; + }) + ]; +} -- cgit v1.2.3