From c2c8b60352d562fd1229dd699525f03bd5ece213 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:02:27 -0800 Subject: migration: nicotine --- snowfall/homes/x86_64-linux/c/default.nix | 11 +++++++---- snowfall/modules/home/apps/default.nix | 11 +++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'snowfall') diff --git a/snowfall/homes/x86_64-linux/c/default.nix b/snowfall/homes/x86_64-linux/c/default.nix index cc59705..4355642 100644 --- a/snowfall/homes/x86_64-linux/c/default.nix +++ b/snowfall/homes/x86_64-linux/c/default.nix @@ -13,11 +13,14 @@ with lib; with lib.${namespace}; { misc.enable = true; }; - apps.discord.enable = true; - apps.gimp.enable = true; - apps.qbittorrent.enable = true; + apps = { + discord.enable = true; + gimp.enable = true; + qbittorrent.enable = true; + nicotine.enable = true; - apps.prismlauncher.extra.rusherhack.enable = true; + prismlauncher.extra.rusherhack.enable = true; + }; tools.git = { name = "Caroline Larimore"; diff --git a/snowfall/modules/home/apps/default.nix b/snowfall/modules/home/apps/default.nix index 188dfb3..c19f9b2 100644 --- a/snowfall/modules/home/apps/default.nix +++ b/snowfall/modules/home/apps/default.nix @@ -1,7 +1,7 @@ -{ lib, namespace, ... }: +{ lib, pkgs, namespace, ... }: with lib; with lib.${namespace}; { - imports = [ + imports = with pkgs; [ (mkSimpleApp "gimp" {}) (mkSimpleApp "qbittorrent" { persist = [ @@ -10,5 +10,12 @@ with lib; with lib.${namespace}; { ".cache/qBittorrent" ]; }) + (mkSimpleApp "nicotine" { + packages = [ nicotine-plus ]; + persist = [ + ".config/nicotine" + ".local/share/nicotine" + ]; + }) ]; } -- cgit v1.2.3