darwin: fix infinite recursion

fae70de5cd217dea555a818364443b3481f63f91 is the first bad commit
This commit is contained in:
Guanran Wang 2023-10-04 14:29:38 +08:00
parent 923893ac82
commit 4ae7910f64
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 2 additions and 1 deletions

View file

@ -43,6 +43,7 @@
darwinConfigurations = {
"iMac-macOS" = nix-darwin.lib.darwinSystem {
system = "x86_64-darwin";
specialArgs = { inherit inputs; };
modules = [
./machines/darwin/imac-2017.nix
./users/guanranwang/darwin.nix

View file

@ -1,7 +1,7 @@
{ inputs, ... }:
{
imports = [ inputs.home-manager.nixosModules.home-manager ];
imports = [ inputs.home-manager.darwinModules.home-manager ];
home-manager = {
useGlobalPkgs = true;