1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

drop nixosModule in favour of nixosModules.default

This commit is contained in:
Jörg Thalheim 2023-03-18 16:10:04 +01:00
parent 215dcb71e7
commit 332f95d2db

View file

@ -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 {