From c2c8b60352d562fd1229dd699525f03bd5ece213 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:02:27 -0800 Subject: migration: nicotine --- hosts/c-pc/home.nix | 4 ---- snowfall/homes/x86_64-linux/c/default.nix | 11 +++++++---- snowfall/modules/home/apps/default.nix | 11 +++++++++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index e4a6716..6419232 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -31,9 +31,6 @@ ".local/share/Anki2" ".local/share/lutris" - - ".config/nicotine" - ".local/share/nicotine" ]; }; @@ -54,7 +51,6 @@ irssi - 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 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