diff options
| -rw-r--r-- | hosts/c-pc/home.nix | 5 | ||||
| -rw-r--r-- | snowfall/homes/x86_64-linux/c/default.nix | 2 | ||||
| -rw-r--r-- | snowfall/modules/home/apps/default.nix | 13 |
3 files changed, 15 insertions, 5 deletions
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" + ]; + }) + ]; +} |