about summary refs log tree commit diff
path: root/darwin
diff options
context:
space:
mode:
Diffstat (limited to 'darwin')
-rw-r--r--darwin/default.nix8
-rw-r--r--darwin/delta/configuration.nix48
2 files changed, 56 insertions, 0 deletions
diff --git a/darwin/default.nix b/darwin/default.nix
new file mode 100644
index 0000000..babf824
--- /dev/null
+++ b/darwin/default.nix
@@ -0,0 +1,8 @@
+{ self, unstable, ... }:
+
+{
+  delta = self.lib.mkDarwin {
+    name = "delta";
+    nixpkgs = unstable;
+  };
+}
diff --git a/darwin/delta/configuration.nix b/darwin/delta/configuration.nix
new file mode 100644
index 0000000..3f5e94a
--- /dev/null
+++ b/darwin/delta/configuration.nix
@@ -0,0 +1,48 @@
+{ pkgs, ... }:
+
+{
+  homebrew = {
+    enable = true;
+
+    taps = [
+      "dwarvesf/homebrew-tap"
+    ];
+
+    brews = [
+      # Thunderbird requires GPGME in 'standard locations'
+      "gpgme"
+    ];
+
+    casks = [
+      "bentobox"
+      "bettertouchtool"
+      "bitwarden"
+      "jetbrains-toolbox"
+      "jordanbaird-ice"
+      "karabiner-elements"
+      "kicad" # XXX: Nix one marked as broken on darwin
+      "little-snitch"
+      "macfuse"
+      "micro-snitch"
+      "monarch"
+      "notchnook"
+      "openmtp"
+      "orbstack"
+      "raycast"
+      "spotify"
+      "tailscale"
+      "transmission"
+      "transmission"
+      "vimmotion"
+      "vlc"
+      "yubico-yubikey-manager"
+    ];
+  };
+
+  # Necessary for using flakes on this system.
+  nix.settings.experimental-features = "nix-command flakes";
+
+  # $ darwin-rebuild changelog
+  system.stateVersion = 5;
+  nixpkgs.hostPlatform = "aarch64-darwin";
+}