home-manager: make the hm modules match the nixos ones
This commit is contained in:
parent
4fc501b1e2
commit
32a5ebf118
16 changed files with 256 additions and 98 deletions
|
|
@ -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
|
||||
]);
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue