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" ]; } ``` 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;