pass: move from module to user config

This commit is contained in:
2025-03-16 14:12:55 +00:00
parent adb2cbc4ca
commit f09457f6fc
9 changed files with 12 additions and 31 deletions

View File

@ -8,7 +8,6 @@
./programs/graphics.nix
./programs/libreoffice.nix
./programs/lutris.nix
./programs/pass.nix
./programs/qbittorrent.nix
./programs/recording.nix
./programs/slack.nix

View File

@ -1,25 +0,0 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.programs.pass;
in
{
options.modules.programs.pass = {
enable = lib.mkOption {
default = false;
example = true;
};
};
config = lib.mkIf cfg.enable {
home.programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
};
};
}