From 50aa005349f43728f3d471cd9f003607044d4f1e Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 16 Dec 2025 19:45:17 -0600 Subject: [PATCH] Add homeConfigurations --- checks.nix | 5 ++++- flake.nix | 2 +- home/default.nix | 8 +++++++- home/hosts/exodus/default.nix | 2 +- home/hosts/work/default.nix | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/checks.nix b/checks.nix index e68b680..a9a0ca8 100644 --- a/checks.nix +++ b/checks.nix @@ -10,5 +10,8 @@ let nixos = lib.mapAttrs' (n: v: lib.nameValuePair "nixos-${n}" v.config.system.build.toplevel) ( lib.filterAttrs (_: v: v.pkgs.stdenv.hostPlatform.system == system) top.self.nixosConfigurations ); + homemanager = lib.mapAttrs' (n: v: lib.nameValuePair "hm-${n}" v.activationPackage) ( + lib.filterAttrs (_: v: v.pkgs.stdenv.hostPlatform.system == system) top.self.homeConfigurations + ); in -nixos // self'.packages +homemanager // nixos // self'.packages diff --git a/flake.nix b/flake.nix index 11eefc2..7cdb3ca 100644 --- a/flake.nix +++ b/flake.nix @@ -109,7 +109,7 @@ nixosConfigurations = (import ./hosts { inherit top overlays metadata; }); - homeConfigurations = (import ./home { inherit top overlays; }); + homeConfigurations = (import ./home { inherit top overlays metadata; }); modules = import ./modules; diff --git a/home/default.nix b/home/default.nix index eb7da69..177f17b 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,5 @@ { + metadata, overlays, top, }: @@ -25,7 +26,12 @@ let ./home.nix ]; extraSpecialArgs = { - inherit top host username; + inherit + top + host + username + metadata + ; nixvim = top.nixvimunstable; gui = false; gnome = false; diff --git a/home/hosts/exodus/default.nix b/home/hosts/exodus/default.nix index aaffdcc..26edeac 100644 --- a/home/hosts/exodus/default.nix +++ b/home/hosts/exodus/default.nix @@ -5,7 +5,7 @@ development = true; gnome = true; gui = true; - vscodium = true; + vscodium = false; zed = true; }; home.packages = with pkgs; [ diff --git a/home/hosts/work/default.nix b/home/hosts/work/default.nix index e9d6627..fb5f07c 100644 --- a/home/hosts/work/default.nix +++ b/home/hosts/work/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { - greg.vscodium.enable = true; + greg.vscodium.enable = false; home.packages = with pkgs; [ brew ]; }