Got home-manager building out of darwin
This commit is contained in:
+9
-7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user