Got home-manager building out of darwin

This commit is contained in:
Greg Hellings
2023-06-20 11:52:10 -05:00
parent e9c341a8ec
commit 5c765b7165
3 changed files with 20 additions and 19 deletions
+9 -7
View File
@@ -1,4 +1,4 @@
{ agenix, darwin, nixstable, nixunstable, overlays, hm, ... }:
{ agenix, darwin, nixstable, nixunstable, overlays, hm, flake-utils, ... }:
let
mac = {
system ? "aarch64-darwin",
@@ -7,7 +7,9 @@ let
extraMods ? []
}:
let
nixpkgs = channel;
nixpkgs = import channel {
inherit system;
};
in darwin.lib.darwinSystem {
inherit system;
specialArgs = { inherit nixpkgs; };
@@ -18,11 +20,10 @@ let
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users."gregory.hellings" = import ../home/home.nix {
inherit (nixunstable) lib;
pkgs = nixunstable;
gui = true;
home-manager.users."gregory.hellings" = import ../home/home.nix;
home-manager.extraSpecialArgs = {
gnome = false;
gui = true;
};
}
../modules-all
@@ -30,7 +31,8 @@ let
./${name}
] ++ extraMods;
};
in {
in rec {
"C02G48H8MD6R" = mac { system = "x86_64-darwin"; name = "work"; };
la23002 = mac { name = "ivr"; };
LA23002 = la23002;
}