This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
3
modules/password-store/enable.nix
Normal file
3
modules/password-store/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.base.programs.password-store.enable = true;
|
||||
}
|
17
modules/password-store/package.nix
Normal file
17
modules/password-store/package.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
options.programs.password-store.extensions = lib.mkOption {
|
||||
default = [ ];
|
||||
type = lib.types.listOf lib.types.package;
|
||||
description = "pass extensions to install.";
|
||||
};
|
||||
|
||||
config.programs.password-store.package = pkgs.pass.withExtensions (
|
||||
e: with e; config.programs.password-store.extensions
|
||||
);
|
||||
};
|
||||
}
|
7
modules/password-store/settings.nix
Normal file
7
modules/password-store/settings.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
flake.modules.homeManager.base =
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.password-store.settings.PASSWORD_STORE_DIR = "${config.xdg.dataHome}/pass";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue