From 133a3f82073f03e62cb3e7902c85fb3fc6292fe2 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Thu, 27 Mar 2025 15:56:34 -0700 Subject: [PATCH] [tarro] Remove laptop config --- flake.nix | 41 ++++++++++++------------ system/hosts/tarro-mbp/configuration.nix | 29 ----------------- system/hosts/tarro-mbp/default.nix | 16 --------- system/hosts/tarro-mbp/drew.nix | 26 --------------- 4 files changed, 20 insertions(+), 92 deletions(-) delete mode 100644 system/hosts/tarro-mbp/configuration.nix delete mode 100644 system/hosts/tarro-mbp/default.nix delete mode 100644 system/hosts/tarro-mbp/drew.nix diff --git a/flake.nix b/flake.nix index cdbb54c..ef153c6 100644 --- a/flake.nix +++ b/flake.nix @@ -31,28 +31,27 @@ }; }; - outputs = { self, nixpkgs, ... }@inputs: { - nixosConfigurations = { - drew-desktop = (import ./system/hosts/drew-desktop) { - inherit inputs; - inherit self; - inherit nixpkgs; + outputs = + { self, nixpkgs, ... }@inputs: + { + nixosConfigurations = { + drew-desktop = (import ./system/hosts/drew-desktop) { + inherit inputs; + inherit self; + inherit nixpkgs; + }; + mcp = (import ./system/hosts/mcp) { + inherit inputs; + inherit self; + inherit nixpkgs; + }; }; - mcp = (import ./system/hosts/mcp) { - inherit inputs; - inherit self; - inherit nixpkgs; + darwinConfigurations = { + # Removed. See 7c0130f7271f6949e60b9ab59950788d523a9c4d for when the + # last one was removed. + }; + features = { + development = (import ./home-manager/features/development/development.nix); }; }; - darwinConfigurations = { - DGVGYQLQP5 = (import ./system/hosts/tarro-mbp) { - inherit inputs; - inherit self; - inherit nixpkgs; - }; - }; - features = { - development = (import ./home-manager/features/development/development.nix); - }; - }; } diff --git a/system/hosts/tarro-mbp/configuration.nix b/system/hosts/tarro-mbp/configuration.nix deleted file mode 100644 index df866ca..0000000 --- a/system/hosts/tarro-mbp/configuration.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ config, pkgs, inputs, ... }: -{ - # List packages installed in system profile. To search by name, run: - # $ nix-env -qaP | grep wget - environment.systemPackages = - [ pkgs.vim - ]; - - # Necessary for using flakes on this system. - nix.settings.experimental-features = "nix-command flakes"; - - # Enable alternative shell support in nix-darwin. - programs.zsh.enable = true; - - # Set Git commit hash for darwin-version. - system.configurationRevision = inputs.self.rev or inputs.self.dirtyRev or null; - - # Used for backwards compatibility, please read the changelog before changing. - # $ darwin-rebuild changelog - system.stateVersion = 6; - - # The platform the configuration will be used on. - nixpkgs.hostPlatform = "aarch64-darwin"; - - users.users.drew = { - name = "drew"; - home = "/Users/drew"; - }; -} diff --git a/system/hosts/tarro-mbp/default.nix b/system/hosts/tarro-mbp/default.nix deleted file mode 100644 index 8654df0..0000000 --- a/system/hosts/tarro-mbp/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ inputs, self, ... }: - inputs.nix-darwin.lib.darwinSystem { - modules = [ - ./configuration.nix - inputs.home-manager.darwinModules.home-manager - { - home-manager.users.drew = import ./drew.nix; - home-manager.useGlobalPkgs = true; - home-manager.extraSpecialArgs = { inherit inputs; }; - } - ]; - specialArgs = { - inherit inputs; - inherit self; - }; - } diff --git a/system/hosts/tarro-mbp/drew.nix b/system/hosts/tarro-mbp/drew.nix deleted file mode 100644 index 753ee6f..0000000 --- a/system/hosts/tarro-mbp/drew.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - ../../../home-manager/features/kubernetes.nix - ../../../home-manager/features/macos - ../../../home-manager/features/nix.nix - ../../../home-manager/features/terminal.nix - ../../../home-manager/features/development/development.nix - ../../../home-manager/features/development/macos.nix - ../../../home-manager/features/development/rust.nix - ]; - - home.username = "drew"; - home.homeDirectory = "/Users/drew"; - - home.packages = with pkgs; [ - nodejs_22 - ]; - - home.stateVersion = "24.11"; - - programs.git = { - userName = "Drew Haven"; - userEmail = "drew.haven@tarro.com"; - }; -}