about summary refs log tree commit diff
path: root/darwinConfigurations/mairon/default.nix
blob: 00df25777ebeeb023e859eac70e4f8e99fc646f6 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
  lib,
  this,
  ...
}:
with lib; {
  # TODO Make this per-directory/per-remote.
  hm.programs.git = {
    userName = mkForce "Firstname Lastname";
    userEmail = mkForce "username@work.com";
    signing.key = mkForce "@PGP_KEY@";
    extraConfig."url \"git@gitlab.services.work.com:\"".insteadOf = "work:";
  };

  homebrew = {
    taps = [
      {name = "kreuzwerker/homebrew-taps";}
    ];
    brews = [
      {name = "carthage";}
      {name = "m1-terraform-provider-helper";}
      {name = "sourcery";}
      {name = "xcodegen";}
    ];
    casks = [
      {name = "burp-suite";}
      {name = "cocoapods";}
      {name = "docker";}
      {name = "go";}
      {name = "jetbrains-toolbox";}
      {name = "obs";}
      {name = "openlens";}
      {name = "postman";}
      {name = "shadowsocksx-ng";}
      {name = "vial";}
      {name = "vnc-viewer";}
      {name = "wireshark";}
      {name = "xcodes";}
    ];
  };

  networking = {
    computerName = mkForce this.hostname;
    hostName = mkForce null; # We don't want to override this.
  };
}

Consider giving Nix/NixOS a try! <3