about summary refs log tree commit diff
path: root/modules/darwin/profiles/headful.nix
blob: 826e45a25af5d70b6ab50db81b1d784513cdad61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  config,
  lib,
  pkgs,
  ...
}:
with lib; let
  cfg = config.nixfiles.modules.profiles.headful;
in {
  config = mkIf cfg.enable {
    nixfiles.modules.homebrew.enable = true;

    # I'm addicted to GNU...
    hm.home.packages = with pkgs; [
      coreutils
      findutils
      getopt
      gnugrep
      gnused
      gnutar
      gzip
      which
    ];

    homebrew.casks = [
      {name = "firefox";}
      {name = "iterm2";}
      {name = "telegram-desktop";}
    ];
  };
}

Consider giving Nix/NixOS a try! <3