diff --git a/modules/cloudsync.nix b/modules/cloudsync.nix index 172e41f..25caace 100644 --- a/modules/cloudsync.nix +++ b/modules/cloudsync.nix @@ -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} diff --git a/modules/system-packages.nix b/modules/system-packages.nix index bec7507..a47ef79 100644 --- a/modules/system-packages.nix +++ b/modules/system-packages.nix @@ -21,15 +21,8 @@ krfb imagemagick - pypy3 - (python3.withPackages(ps: with ps; [ - requests - matplotlib - numpy - scipy - ])) +# pypy3 -# libsForQt5. kdePackages.audiocd-kio (writeShellScriptBin "primerun" '' diff --git a/modules/toolchains.nix b/modules/toolchains.nix index e5aff50..7e84425 100644 --- a/modules/toolchains.nix +++ b/modules/toolchains.nix @@ -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; }; }