Fix goof on darwin config

This commit is contained in:
Nathan McCarty 2022-05-19 13:02:44 -04:00
parent 2ab09c62cc
commit a564dee5c1
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 2 additions and 3 deletions

View File

@ -73,6 +73,7 @@
./modules/common.nix ./modules/common.nix
./modules/ssh.nix ./modules/ssh.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager
## Setup sops ## Setup sops
({ pkgs, config, ... }: { ({ pkgs, config, ... }: {
# Add default secrets # Add default secrets
@ -95,7 +96,6 @@
}; };
}); });
baseHomeModules = [ baseHomeModules = [
home-manager.nixosModules.home-manager
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
@ -260,10 +260,9 @@
fenix = fenix.packages.x86_64-darwin; fenix = fenix.packages.x86_64-darwin;
doomEmacs = nix-doom-emacs.hmModule; doomEmacs = nix-doom-emacs.hmModule;
}; };
modules = baseModules ++ [ modules = baseModules ++ baseHomeModules ++ [
./darwin-modules/base.nix ./darwin-modules/base.nix
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
baseHomeModules
./modules/fonts.nix ./modules/fonts.nix
./darwin-modules/gpg.nix ./darwin-modules/gpg.nix
./applications/devel-core.nix ./applications/devel-core.nix