nexoniarz-config-nixos/modules/scripts.nix
Nexoniarz 3f653741c2 Add NexoPass: deterministic password generator with encrypted site vault
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 12:34:38 +02:00

21 lines
641 B
Nix

{ config, pkgs, ... }:
let
vaultToggle = pkgs.writeShellScriptBin "vault-toggle" (builtins.readFile ./scripts/vault-toggle.sh);
stripMetadata = pkgs.writeShellScriptBin "strip-metadata" (builtins.readFile ./scripts/strip-metadata.sh);
nexopass = pkgs.writeShellApplication {
name = "nexopass";
runtimeInputs = with pkgs; [ libargon2 gnupg wl-clipboard coreutils ];
runtimeEnv.NEXOPASS_WORDLIST = "${./scripts/eff_large_wordlist.txt}";
text = builtins.readFile ./scripts/nexopass.sh;
};
in
{
environment.systemPackages = with pkgs; [
gocryptfs
exiftool
vaultToggle
stripMetadata
nexopass
];
}