mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-05 08:07:16 +00:00
drop nixosModule in favour of nixosModules.default
This commit is contained in:
parent
215dcb71e7
commit
332f95d2db
1 changed files with 6 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue