home-manager: make the hm modules match the nixos ones

This commit is contained in:
Veneficium 2024-11-05 17:45:56 +01:00
parent 4fc501b1e2
commit 32a5ebf118
16 changed files with 256 additions and 98 deletions

View file

@ -1,10 +1,22 @@
{ pkgs, ... }:
{
programs.password-store = {
enable = true;
package = pkgs.pass-wayland.withExtensions (exts: [
exts.pass-checkup
exts.pass-audit
]);
config,
lib,
pkgs,
...
}:
{
options.settings.programs.pass = {
enable = lib.mkEnableOption "enable pass";
};
config = lib.mkIf config.settings.programs.pass.enable {
programs.password-store = {
enable = true;
package = pkgs.pass-wayland.withExtensions (exts: [
exts.pass-checkup
exts.pass-audit
]);
};
};
}