diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 17:02:27 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:51 -0700 |
| commit | c2c8b60352d562fd1229dd699525f03bd5ece213 (patch) | |
| tree | 6dc46977e3a3d954344d1b58d0eccde9ad1e5759 | |
| parent | 88e4d5741335ebb706d1a0cc6b65f3224a54b06a (diff) | |
migration: nicotine
| -rw-r--r-- | hosts/c-pc/home.nix | 4 | ||||
| -rw-r--r-- | snowfall/homes/x86_64-linux/c/default.nix | 11 | ||||
| -rw-r--r-- | 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" + ]; + }) ]; } |