about summary refs log tree commit diff stats
path: root/modules/home.legacy
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-16 21:22:29 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-16 21:24:40 +0100
commit4f4d1a83d39894101f297ca4f4abfb8b803798d7 (patch)
treec47e7176fe26abc6149819853092b842dad05343 /modules/home.legacy
parentrefactor(pkgs/mpc): Rename to `mpp` (diff)
downloadnixos-config-4f4d1a83d39894101f297ca4f4abfb8b803798d7.tar.gz
nixos-config-4f4d1a83d39894101f297ca4f4abfb8b803798d7.zip
fix(legacy/wms/river): Ensure that `mpc` is available to river
There is currently no way to tell river where the `mpc` executable is,
thus requiring it to be present in the `$PATH`.
Diffstat (limited to 'modules/home.legacy')
-rw-r--r--modules/home.legacy/wms/river/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/home.legacy/wms/river/default.nix b/modules/home.legacy/wms/river/default.nix
index 1ec39f4d..274b9223 100644
--- a/modules/home.legacy/wms/river/default.nix
+++ b/modules/home.legacy/wms/river/default.nix
@@ -79,5 +79,10 @@ in {
     }
     + /bin/river_init;
 
+  # TODO: These mappings should be generated in nix. (Which would allow to replace the
+  # `mpc` pat adding.) <2024-11-16>
+
+  # Needed for the key-mappings.
+  home.packages = [pkgs.mpc];
   xdg.configFile."river/res".source = ./res;
 }