make pass work as keyring backend

This commit is contained in:
LordGrimmauld 2024-03-05 12:08:49 +01:00
parent 2d9173f6be
commit 67f330875a
3 changed files with 12 additions and 12 deletions

View File

@ -5,7 +5,6 @@
sync_server = "cloud.grimmauld.de";
# cloud_cmd = "${pkgs.nextcloud-client}/bin/nextcloudcmd -u ${sync_user_remote} -p -h -n --path";
in {
# spotify pass
age.secrets.nextcloud_pass = {
file = ../secrets/nextcloud_pass.age;
owner = sync_user;
@ -17,7 +16,6 @@ in {
in with pkgs; [
nextcloud-client
(writeShellScriptBin "cloudsync" ''
# export cloudpass="$(cat ${config.age.secrets.nextcloud_pass.path})"
${cloud_cmd} /3d /home/${sync_user}/3d https://${sync_server}
${cloud_cmd} /Pictures /home/${sync_user}/Pictures https://${sync_server}
${cloud_cmd} /Documents /home/${sync_user}/Documents https://${sync_server}

View File

@ -21,15 +21,8 @@
krfb
imagemagick
pypy3
(python3.withPackages(ps: with ps; [
requests
matplotlib
numpy
scipy
]))
# pypy3
# libsForQt5.
kdePackages.audiocd-kio
(writeShellScriptBin "primerun" ''

View File

@ -12,11 +12,15 @@ in {
rustfmt
rust-analyzer
jdk17
python3
pkg-config
pinentry
pass
libsecret
(python311.withPackages ( python-pkgs: [
# python311Packages.keyring
# python311Packages.keyring-pass
]))
tea
(writeShellScriptBin "passw" "pass $@")
# nodejs_21 # ugh.... somehow nvim needs node now?!?
@ -94,11 +98,16 @@ in {
};
};
services.passSecretService.enable = true;
services.pcscd.enable = true;
programs.xonsh.enable = true;
programs.ssh.startAgent = true;
programs.gnupg.agent = {
programs.gnupg.agent = {
settings = {
default-cache-ttl = 6000;
};
pinentryFlavor = "tty";
enable = true;
# enableSSHSupport = true;
};
}