From cbad8dc5ef5aa80544e069ade52e79ff46539978 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Sat, 1 Mar 2025 09:34:39 -0700 Subject: [PATCH 1/2] Add default home-manager module This keeps `homeManagerModules` in parallel with `darwinModules` and `nixosModules` --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b389c09..9384ee4 100644 --- a/flake.nix +++ b/flake.nix @@ -66,7 +66,10 @@ sops = ./modules/sops; default = self.nixosModules.sops; }; - homeManagerModules.sops = ./modules/home-manager/sops.nix; + homeManagerModules = { + sops = ./modules/home-manager/sops.nix; + default = self.homeManagerModules.sops; + }; homeManagerModule = self.homeManagerModules.sops; darwinModules = { sops = ./modules/nix-darwin; From 432671f1900b3e200edf33f7503512efe017dfe9 Mon Sep 17 00:00:00 2001 From: Sandro Date: Wed, 26 Feb 2025 21:58:31 +0100 Subject: [PATCH 2/2] Fix After example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31bfb93..30d369f 100644 --- a/README.md +++ b/README.md @@ -828,7 +828,7 @@ The actual sops configuration is in the `sops` namespace in your home.nix (or in The secrets are decrypted in a systemd user service called `sops-nix`, so other services needing secrets must order after it: ```nix { - systemd.user.services.mbsync.Unit.After = [ "sops-nix.service" ]; + systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ]; } ```