make pass work as keyring backend
This commit is contained in:
parent
2d9173f6be
commit
67f330875a
3 changed files with 12 additions and 12 deletions
|
@ -5,7 +5,6 @@
|
||||||
sync_server = "cloud.grimmauld.de";
|
sync_server = "cloud.grimmauld.de";
|
||||||
# cloud_cmd = "${pkgs.nextcloud-client}/bin/nextcloudcmd -u ${sync_user_remote} -p -h -n --path";
|
# cloud_cmd = "${pkgs.nextcloud-client}/bin/nextcloudcmd -u ${sync_user_remote} -p -h -n --path";
|
||||||
in {
|
in {
|
||||||
# spotify pass
|
|
||||||
age.secrets.nextcloud_pass = {
|
age.secrets.nextcloud_pass = {
|
||||||
file = ../secrets/nextcloud_pass.age;
|
file = ../secrets/nextcloud_pass.age;
|
||||||
owner = sync_user;
|
owner = sync_user;
|
||||||
|
@ -17,7 +16,6 @@ in {
|
||||||
in with pkgs; [
|
in with pkgs; [
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
(writeShellScriptBin "cloudsync" ''
|
(writeShellScriptBin "cloudsync" ''
|
||||||
# export cloudpass="$(cat ${config.age.secrets.nextcloud_pass.path})"
|
|
||||||
${cloud_cmd} /3d /home/${sync_user}/3d https://${sync_server}
|
${cloud_cmd} /3d /home/${sync_user}/3d https://${sync_server}
|
||||||
${cloud_cmd} /Pictures /home/${sync_user}/Pictures https://${sync_server}
|
${cloud_cmd} /Pictures /home/${sync_user}/Pictures https://${sync_server}
|
||||||
${cloud_cmd} /Documents /home/${sync_user}/Documents https://${sync_server}
|
${cloud_cmd} /Documents /home/${sync_user}/Documents https://${sync_server}
|
||||||
|
|
|
@ -21,15 +21,8 @@
|
||||||
krfb
|
krfb
|
||||||
|
|
||||||
imagemagick
|
imagemagick
|
||||||
pypy3
|
# pypy3
|
||||||
(python3.withPackages(ps: with ps; [
|
|
||||||
requests
|
|
||||||
matplotlib
|
|
||||||
numpy
|
|
||||||
scipy
|
|
||||||
]))
|
|
||||||
|
|
||||||
# libsForQt5.
|
|
||||||
kdePackages.audiocd-kio
|
kdePackages.audiocd-kio
|
||||||
|
|
||||||
(writeShellScriptBin "primerun" ''
|
(writeShellScriptBin "primerun" ''
|
||||||
|
|
|
@ -12,11 +12,15 @@ in {
|
||||||
rustfmt
|
rustfmt
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
jdk17
|
jdk17
|
||||||
python3
|
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
||||||
pinentry
|
pinentry
|
||||||
pass
|
pass
|
||||||
|
libsecret
|
||||||
|
(python311.withPackages ( python-pkgs: [
|
||||||
|
# python311Packages.keyring
|
||||||
|
# python311Packages.keyring-pass
|
||||||
|
]))
|
||||||
tea
|
tea
|
||||||
(writeShellScriptBin "passw" "pass $@")
|
(writeShellScriptBin "passw" "pass $@")
|
||||||
# nodejs_21 # ugh.... somehow nvim needs node now?!?
|
# nodejs_21 # ugh.... somehow nvim needs node now?!?
|
||||||
|
@ -94,11 +98,16 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.passSecretService.enable = true;
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
programs.xonsh.enable = true;
|
programs.xonsh.enable = true;
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
|
settings = {
|
||||||
|
default-cache-ttl = 6000;
|
||||||
|
};
|
||||||
pinentryFlavor = "tty";
|
pinentryFlavor = "tty";
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue