From 332f95d2db4944dfb354c6c357a893212309dbe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 18 Mar 2023 16:10:04 +0100 Subject: [PATCH] drop nixosModule in favour of nixosModules.default --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4f5494c..8c1204e 100644 --- a/flake.nix +++ b/flake.nix @@ -26,9 +26,13 @@ # backward compatibility inherit (prev) ssh-to-pgp; }; - nixosModules.sops = import ./modules/sops; + nixosModules = { + sops = import ./modules/sops; + default = self.nixosModules.sops; + }; + nixosModule = nixpkgs.lib.warn + "use sops.nixosModules.default instead of sops.nixosModule" self.nixosModules.sops; homeManagerModules.sops = import ./modules/home-manager/sops.nix; - nixosModule = self.nixosModules.sops; homeManagerModule = self.homeManagerModules.sops; packages = forAllSystems (system: import ./default.nix {