Add homeConfigurations
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
+7
-1
@@ -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;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
development = true;
|
||||
gnome = true;
|
||||
gui = true;
|
||||
vscodium = true;
|
||||
vscodium = false;
|
||||
zed = true;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
greg.vscodium.enable = true;
|
||||
greg.vscodium.enable = false;
|
||||
|
||||
home.packages = with pkgs; [ brew ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user