about summary refs log tree commit diff
path: root/darwinConfigurations
diff options
context:
space:
mode:
Diffstat (limited to 'darwinConfigurations')
-rw-r--r--darwinConfigurations/default.nix36
-rw-r--r--darwinConfigurations/mairon/default.nix54
2 files changed, 0 insertions, 90 deletions
diff --git a/darwinConfigurations/default.nix b/darwinConfigurations/default.nix
deleted file mode 100644
index 0e19d26..0000000
--- a/darwinConfigurations/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-inputs:
-with inputs.self.lib;
-let
-  mkConfiguration =
-    name:
-    {
-      modules ? [ ],
-      configuration ? ./${name},
-      this ? my.configurations.${name},
-      extraSpecialArgs ? {
-        localUsername = my.username;
-        localHostname = this.hostname;
-      },
-    }:
-    nameValuePair name (
-      inputs.darwin.lib.darwinSystem {
-        inherit (this) system;
-        modules =
-          modules
-          ++ attrValues inputs.self.modules
-          ++ attrValues inputs.self.darwinModules
-          ++ optional (configuration != null) (import configuration);
-        specialArgs = {
-          inherit inputs this;
-          inherit (inputs.self) lib;
-        } // extraSpecialArgs;
-      }
-    );
-in
-mapAttrs' mkConfiguration {
-  mairon.extraSpecialArgs = {
-    # These values are managed by my employer.
-    localUsername = "username";
-    localHostname = "hostname";
-  };
-}
diff --git a/darwinConfigurations/mairon/default.nix b/darwinConfigurations/mairon/default.nix
deleted file mode 100644
index f9cdbbb..0000000
--- a/darwinConfigurations/mairon/default.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{
-  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