From 0ad9ad6711d1623922b42577e6f60d66c1a5a331 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 19 Jan 2025 09:05:06 +1000 Subject: feat(darwin): configure delta --- darwin/default.nix | 8 ++++++++ darwin/delta/configuration.nix | 18 ++++++++++++++++++ flake.nix | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 darwin/default.nix create mode 100644 darwin/delta/configuration.nix 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..5ce8eb0 --- /dev/null +++ b/darwin/delta/configuration.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: + +{ + homebrew = { + enable = true; + brews = [ + # Thunderbird requires GPGME in 'standard locations' + "gpgme" + ]; + }; + + # Necessary for using flakes on this system. + nix.settings.experimental-features = "nix-command flakes"; + + # $ darwin-rebuild changelog + system.stateVersion = 5; + nixpkgs.hostPlatform = "aarch64-darwin"; +} diff --git a/flake.nix b/flake.nix index f334314..67e1701 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,8 @@ nixosConfigurations = import ./nixos inputs; + darwinConfigurations = import ./darwin inputs; + homeConfigurations = import ./home inputs; colmena = self.lib.mkColmenaFromNixOSConfigurations self.nixosConfigurations; -- cgit 1.4.1