task | add password-store
This commit is contained in:
parent
79c46d8106
commit
956c4cd619
4 changed files with 46 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
./newsboat.nix
|
||||
./nixvim.nix
|
||||
# ./nvf.nix
|
||||
./pass.nix
|
||||
./ssh.nix
|
||||
./taskwarrior.nix
|
||||
./topgrade.nix
|
||||
|
|
|
|||
41
home/common/pass.nix
Normal file
41
home/common/pass.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
osConfig,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (osConfig) modules;
|
||||
|
||||
sys = modules.system;
|
||||
in {
|
||||
config = {
|
||||
programs = {
|
||||
# password-store pass
|
||||
password-store = {
|
||||
enable = true;
|
||||
package = pkgs.pass.withExtensions (exts: [exts.pass-otp exts.pass-audit exts.pass-update exts.pass-import]);
|
||||
settings = {
|
||||
PASSWORD_STORE_KEY = "CCD8E76F07EA701B";
|
||||
PASSWORD_STORE_CLIP_TIME = "30";
|
||||
PASSWORD_STORE_GENERATED_LENGTH = "120";
|
||||
PASSWORD_STORE_CHARACTER_SET = "A-Za-z0-9!@#$%";
|
||||
PASSWORD_STORE_CHARACTER_SET_NO_SYMBOLS = "A-Za-z0-9";
|
||||
PASSWORD_STORE_ENABLE_EXTENSIONS = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
# Enable pass to integrate with the libsecret D-Bus API for password management
|
||||
pass-secret-service = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# home.file.".config/pass-git-helper" = {
|
||||
# source = ./git-pass-mapping;
|
||||
# recursive = true;
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
@ -13,7 +13,9 @@
|
|||
",M" = "spawn --userscript mealie";
|
||||
",N" = "spawn --userscript saveurl";
|
||||
",O" = "spawn --userscript obsidian-import-lite";
|
||||
",P" = "spawn --userscript qute-pass --password-only";
|
||||
",R" = "spawn --userscript obsidian-import -r";
|
||||
",T" = "spawn --userscript qute-bitwarden --totp-only";
|
||||
",U" = "spawn --userscript sendurl";
|
||||
",V" = "hint links spawn myweb {hint-url}";
|
||||
",d" = "spawn --userscript open_download";
|
||||
|
|
@ -22,7 +24,7 @@
|
|||
",n" = ''config-cycle content.user_stylesheets /home/don/src/solarized-everything-css/css/mine.css ""'';
|
||||
",o" = "spawn --userscript obsidian-import";
|
||||
",r" = "spawn --userscript recipe";
|
||||
",t" = "spawn --userscript qute-bitwarden --totp-only";
|
||||
",t" = "spawn --userscript qute-pass --otp-only";
|
||||
",u" = "spawn --userscript sendphone";
|
||||
",v" = "spawn /home/don/bin/myweb {url}";
|
||||
",w" = "cmd-set-text -s :spawn --userscript taskadd";
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
imports = [
|
||||
# ./beszel-agent.nix
|
||||
./ollama.nix
|
||||
./pass.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue