summaryrefslogtreecommitdiff
path: root/modules/darwin/base.nix
blob: b01bd120b37dc3e2304c054a2bf342e7679254ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{inputs, ...}: let
  channelPath = i: "${inputs.${i}.outPath}";
  mapInputs = fn: map fn (builtins.filter (n: n != "self") (builtins.attrNames inputs));
in {
  imports = [../shared];

  nix.nixPath =
    mapInputs (i: "${i}=${channelPath i}");

  programs = {
    bash.enable = true;
    vim.enable = true;
    zsh.enable = true;
  };

  services.nix-daemon.enable = true;
}