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:
parent
215dcb71e7
commit
332f95d2db
1 changed files with 6 additions and 2 deletions
|
@ -26,9 +26,13 @@
|
||||||
# backward compatibility
|
# backward compatibility
|
||||||
inherit (prev) ssh-to-pgp;
|
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;
|
homeManagerModules.sops = import ./modules/home-manager/sops.nix;
|
||||||
nixosModule = self.nixosModules.sops;
|
|
||||||
homeManagerModule = self.homeManagerModules.sops;
|
homeManagerModule = self.homeManagerModules.sops;
|
||||||
packages = forAllSystems (system:
|
packages = forAllSystems (system:
|
||||||
import ./default.nix {
|
import ./default.nix {
|
||||||
|
|
Loading…
Reference in a new issue