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) (
|
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
|
||||||
|
|||||||
@@ -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
@@ -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;
|
||||||
|
|||||||
@@ -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,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
greg.vscodium.enable = true;
|
greg.vscodium.enable = false;
|
||||||
|
|
||||||
home.packages = with pkgs; [ brew ];
|
home.packages = with pkgs; [ brew ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user