From 7d06a33d775ba076a199f87519fb40fe9a6b296d Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 4 Jul 2024 13:50:57 -0400 Subject: [PATCH] chore: remove unused home configurations --- flake.nix | 47 ++-------------------------------------------- flakes/default.nix | 1 - 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/flake.nix b/flake.nix index cc22b97..3e2cb28 100644 --- a/flake.nix +++ b/flake.nix @@ -34,55 +34,12 @@ }; }; - outputs = inputs @ { - self, - darwin, - home-manager, - flake-parts, - ... - }: + outputs = inputs @ {flake-parts, ...}: flake-parts.lib.mkFlake {inherit inputs;} { flake = { overlays = import ./overlays {inherit inputs;}; - - homeConfigurations = { - nixos = inputs.home-manager.lib.homeManagerConfiguration { - system = "x86_64-linux"; - homeDirectory = "/home/michael"; - username = "michael"; - stateVersion = "21.05"; - configuration = { - config, - pkgs, - ... - }: { - programs.home-manager.enable = true; - - imports = [ - ./user/environments/nixos/home.nix - ]; - }; - }; - - mac = inputs.home-manager.lib.homeManagerConfiguration { - system = "aarch64-darwin"; - homeDirectory = "/Users/michael"; - username = "michael"; - stateVersion = "22.05"; - configuration = { - config, - pkgs, - ... - }: { - programs.home-manager.enable = true; - - imports = [ - ./user/environments/mac/home.nix - ]; - }; - }; - }; }; + systems = [ "aarch64-darwin" "aarch64-linux" diff --git a/flakes/default.nix b/flakes/default.nix index e22e88f..a4fa22d 100644 --- a/flakes/default.nix +++ b/flakes/default.nix @@ -4,7 +4,6 @@ ./darwin.nix ./nixos.nix ./packages.nix - # ./home-manager.nix ./treefmt.nix ]; }