From e6ed60548397627bf10f561f9438201dbba0a36e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 21 Apr 2024 02:15:42 +0300 Subject: 2024-04-21 --- darwinConfigurations/default.nix | 36 ---------------------- darwinConfigurations/mairon/default.nix | 54 --------------------------------- 2 files changed, 90 deletions(-) delete mode 100644 darwinConfigurations/default.nix delete mode 100644 darwinConfigurations/mairon/default.nix (limited to 'darwinConfigurations') 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. - }; -} -- cgit 1.4.1