nixos/services.passSecretService: remove with lib;
This commit is contained in:
parent
9db6d6f090
commit
59dacf1e53
@ -4,25 +4,22 @@
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.passSecretService;
|
||||
in
|
||||
{
|
||||
options.services.passSecretService = {
|
||||
enable = mkEnableOption "pass secret service";
|
||||
enable = lib.mkEnableOption "pass secret service";
|
||||
|
||||
package = mkPackageOption pkgs "pass-secret-service" {
|
||||
package = lib.mkPackageOption pkgs "pass-secret-service" {
|
||||
example = "pass-secret-service.override { python3 = pkgs.python310 }";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.packages = [ cfg.package ];
|
||||
services.dbus.packages = [ cfg.package ];
|
||||
};
|
||||
|
||||
meta.maintainers = with maintainers; [ aidalgol ];
|
||||
meta.maintainers = with lib.maintainers; [ aidalgol ];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user