all repos — nixfiles @ fa8a46fb461cd33a19b74ca00baf875c58728bfc

System and user configuration, managed by nix and home-manager

user/settings/development/exercism.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  lib,
  pkgs,
  ...
}:
let
  toFishPlugin = lib.getAttrs [
    "name"
    "src"
  ];
in
{
  home.packages = [
    pkgs.exercism
    pkgs.miller # needed by fish plugin
  ];
  programs.fish.plugins = map toFishPlugin [
    pkgs.fishPlugins.exercism-cli-fish-wrapper
  ];
}