about summary refs log tree commit diff
path: root/darwinConfigurations/mairon/default.nix
blob: a004d1d6d3cc0a1355746610dc12b95350b11b8a (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
47
48
49
50
51
52
53
54
{
  lib,
  this,
  pkgs,
  ...
}:
with lib;
{
  nixfiles.modules.zathura.enable = mkForce false;

  hm = {
    home.packages = with pkgs; [
      cocoapods
      ruby
    ];

    programs.bash.initExtra = mkAfter ''
      if [ -f "$HOME/.orbstack/shell/init.bash" ]; then
        source "$HOME/.orbstack/shell/init.bash"
      fi
    '';
  };

  homebrew = {
    taps = [ { name = "kreuzwerker/homebrew-taps"; } ];
    brews = [
      {name = "carthage";}
      {name = "go@1.22";}
      {name = "m1-terraform-provider-helper";} # kreuzwerker/homebrew-taps
      {name = "sourcery";}
      {name = "xcbeautify";}
      {name = "xcodegen";}
      {name = "xcodes";}
    ];
    casks = [
      {name = "burp-suite";}
      {name = "jetbrains-toolbox";}
      {name = "krita";}
      {name = "obs";}
      {name = "openlens";}
      {name = "orbstack";}
      {name = "podman-desktop";}
      {name = "shadowsocksx-ng";}
      {name = "vial";}
      {name = "vnc-viewer";}
      {name = "wireshark";}
    ];
  };

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

Consider giving Nix/NixOS a try! <3