.files/nix/homeModules/common/password-store.nix
Léana 江 ebf8468807
tree-wide: format with nixfmt
Another saturday another useless formatter change.
It's my dotfiles, after all

alejandra doesn't handle c-style inline comments well.
2025-11-08 10:15:58 +08:00

22 lines
320 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.programs.password-store;
in
{
home.packages = lib.mkIf cfg.enable [
pkgs.pwgen
pkgs.diceware
];
programs.password-store = lib.mkIf cfg.enable {
package = pkgs.pass.withExtensions (exts: [
exts.pass-otp
exts.pass-import
]);
};
}