Add homeConfigurations

This commit is contained in:
Greg Hellings
2025-12-16 19:45:17 -06:00
parent 3dc109b361
commit 50aa005349
5 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -10,5 +10,8 @@ let
nixos = lib.mapAttrs' (n: v: lib.nameValuePair "nixos-${n}" v.config.system.build.toplevel) ( 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 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 in
nixos // self'.packages homemanager // nixos // self'.packages
+1 -1
View File
@@ -109,7 +109,7 @@
nixosConfigurations = (import ./hosts { inherit top overlays metadata; }); nixosConfigurations = (import ./hosts { inherit top overlays metadata; });
homeConfigurations = (import ./home { inherit top overlays; }); homeConfigurations = (import ./home { inherit top overlays metadata; });
modules = import ./modules; modules = import ./modules;
+7 -1
View File
@@ -1,4 +1,5 @@
{ {
metadata,
overlays, overlays,
top, top,
}: }:
@@ -25,7 +26,12 @@ let
./home.nix ./home.nix
]; ];
extraSpecialArgs = { extraSpecialArgs = {
inherit top host username; inherit
top
host
username
metadata
;
nixvim = top.nixvimunstable; nixvim = top.nixvimunstable;
gui = false; gui = false;
gnome = false; gnome = false;
+1 -1
View File
@@ -5,7 +5,7 @@
development = true; development = true;
gnome = true; gnome = true;
gui = true; gui = true;
vscodium = true; vscodium = false;
zed = true; zed = true;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
+1 -1
View File
@@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
greg.vscodium.enable = true; greg.vscodium.enable = false;
home.packages = with pkgs; [ brew ]; home.packages = with pkgs; [ brew ];
} }