awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
Mic92 avatar

Mic92/sops-nix

0
View on GitHub↗
2,620 stars·209 forks·Nix·mit·14 views

Sops Nix

sops-nix is a declarative secret provisioner and management module for NixOS and Home Manager. It enables the storage of encrypted secrets directly in version control and decrypts them into a non-persistent ramfs during system activation to provide plaintext files to services without storing them on disk.

The project distinguishes itself through a tight integration with the NixOS activation hook and systemd, allowing it to delay service startup until decryption completes and automatically restart units when secret values are updated. It also provides utilities to transform existing SSH host keys into age or GPG compatible keys to authorize machine-based decryption.

The framework covers broad capability areas including multi-format secret parsing for YAML, JSON, and binary files, declarative permission control for user and group ownership, and build-time validation to catch configuration errors before deployment. It also supports atomic secret directory replacement to ensure consistent system rollbacks.

The module integrates with the sops CLI for encryption and decryption across GPG, age, and SSH backends.

Features

  • Declarative Secret Configurations - Defines encrypted secrets in YAML files and maps them to NixOS configuration attributes for service use.
  • Secret Provisioning - Implements a declarative secret provisioner that manages encrypted secrets in version control and deploys them with precise permissions.
  • Activation-Time Decryptions - Decrypts encrypted secrets during system activation as part of the NixOS deployment process.
  • Activation Hooks - Provides a NixOS activation hook that decrypts secrets into ramfs and restarts systemd units when secrets change.
  • Secret Management Modules - Provides a NixOS module for managing encrypted secrets with activation-time decryption and atomic rollbacks.
  • Secret Permission Declarations - Sets user, group, and file mode for each decrypted secret through declarative NixOS configuration.
  • Home Manager Secret Integrations - Manages encrypted secrets for individual users by decrypting them into the user runtime directory via Home Manager.
  • Secret Mounts - Exposes decrypted secrets as ephemeral files in a non-persistent ramfs for system services.
  • Sops Tooling Integrations - Leverages the sops CLI to create and edit encrypted secret files with transparent decryption and re-encryption.
  • Version-Controlled Secret Encryption - Provides a way to store encrypted secrets directly in a git repository with readable diffs.
  • Secret Provisioning - Manages secret files and environment variables through declarative NixOS module declarations.
  • Secret-Dependent Unit Ordering - Delays service startup until secret decryption completes and restarts units when secret values are updated.
  • Secret Directory Replacements - Replaces the active secret directory with a new one in a single operation to support consistent rollbacks.
  • Declarative Secret Permissions - Sets file ownership and permissions for decrypted secrets using declarative NixOS configuration.
  • Secret-Change-Triggered Restarts - Restarts or reloads specified system units automatically whenever a secret file is updated or initialized.
  • Secret Symlink Activations - Creates atomic symlinks from decrypted secrets in the Nix store to target paths for safe rollbacks.
  • Build-Time Validations - Checks encrypted secret files against configuration during evaluation to catch errors before deployment.
  • Multi-Backend Key Workflows - Supports decryption using GPG, age, or SSH-derived keys for flexible secret management.
  • Multi-Host Key Rotations - Updates encrypted secrets to include new host public keys across the configuration.
  • Self-Contained Secret Builds - Adds encrypted secrets to the build store without external dependencies or secret leakage.
  • Service-Ordered Decryptions - Runs secret decryption as a user service so user-level processes can access decrypted secrets in the runtime directory.
  • Binary Secret Handling - Supports encrypting arbitrary binary files as secrets for data formats that cannot be represented in structured text.
  • Multi-Format Secret Management - Supports reading and extracting values from encrypted secrets stored in YAML, JSON, dotenv, INI, or binary formats.
  • Format Conversions - Converts existing SSH host keys into age or GPG compatible keys to authorize machine-based secret decryption.
  • SSH-to-Age Conversions - Transforms existing SSH ed25519 private keys into compatible keys for secret encryption.
  • SSH-to-PGP Conversions - Converts existing SSH host keys into PGP or age compatible keys to authorize machine-based decryption.
  • Secret Restoration - Restores previous secret versions from the Nix store when secret files are included in the system build.
  • Secret Injection Tools - Substitutes placeholders in configuration files with decrypted secret content during the system activation phase.
  • Secret Key Mappings - Maps individual encrypted secret keys from a file to specific NixOS configuration attributes for service definitions.
  • Secret Value Extraction - Retrieves specific keys from encrypted documents or emits the entire decrypted file as needed.

Star history

Star history chart for mic92/sops-nixStar history chart for mic92/sops-nix

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Sops Nix

Similar open-source projects, ranked by how many features they share with Sops Nix.
  • sobolevn/git-secretsobolevn avatar

    sobolevn/git-secret

    4,023View on GitHub↗

    git-secret is a command line tool and Bash encryption utility used to manage sensitive configuration files and passwords within Git repositories. It enables version controlled secret storage by encrypting files with GPG public keys, ensuring that sensitive data can be committed to a repository without exposing plaintext. The tool utilizes a PGP encryption workflow to control access through a managed keyring of authorized public keys. This allows for the granting and revocation of decryption permissions for specific users. To prevent accidental data leaks, it automatically integrates with Git

    Shellencryptiongitgit-addons
    View on GitHub↗4,023
  • gopasspw/gopassgopasspw avatar

    gopasspw/gopass

    6,940View on GitHub↗

    gopass is a terminal-based password manager and GPG secret store used for generating, storing, and retrieving encrypted credentials. It functions as a collaborative secret manager that encrypts data using GPG or age and synchronizes it across devices and teams using Git. The system distinguishes itself by treating version control repositories as the primary storage backend, enabling secure secret sharing and version history for credentials. It utilizes a hierarchical directory structure to organize secrets on the filesystem and supports multi-store mounting to combine multiple independent rep

    Go
    View on GitHub↗6,940
  • stackexchange/blackboxStackExchange avatar

    StackExchange/blackbox

    6,768View on GitHub↗

    Blackbox is a GPG secret management tool and asymmetric encryption wrapper used to securely store and share sensitive files within version control systems like Git, Mercurial, or Subversion. It functions as a version control secret store that encrypts files for safe storage at rest while allowing authorized users and machines to decrypt them. The system distinguishes itself by integrating directly with version control to provide plaintext diff and log visualization of encrypted files. It supports multi-recipient encryption and automated secret decryption via passphrase-less GPG subkeys, enabl

    Go
    View on GitHub↗6,768
  • bitwarden/androidbitwarden avatar

    bitwarden/android

    8,457View on GitHub↗

    This project is an Android password manager application that provides an end-to-end encrypted vault for storing and synchronizing login credentials, secure notes, and identities. It functions as a secure storage system using zero-knowledge encryption to ensure that only the user can decrypt their stored data. The application integrates directly with the Android system to provide an autofill service that populates usernames and passwords into mobile apps and browser login fields. It also serves as a passkey management wallet for FIDO2 cryptographic passkeys and a time-based one-time password a

    Kotlinandroidbitwardencompose
    View on GitHub↗8,457
See all 28 alternatives to Sops Nix→

Frequently asked questions

What does mic92/sops-nix do?

sops-nix is a declarative secret provisioner and management module for NixOS and Home Manager. It enables the storage of encrypted secrets directly in version control and decrypts them into a non-persistent ramfs during system activation to provide plaintext files to services without storing them on disk.

What are the main features of mic92/sops-nix?

The main features of mic92/sops-nix are: Declarative Secret Configurations, Secret Provisioning, Activation-Time Decryptions, Activation Hooks, Secret Management Modules, Secret Permission Declarations, Home Manager Secret Integrations, Secret Mounts.

What are some open-source alternatives to mic92/sops-nix?

Open-source alternatives to mic92/sops-nix include: sobolevn/git-secret — git-secret is a command line tool and Bash encryption utility used to manage sensitive configuration files and… gopasspw/gopass — gopass is a terminal-based password manager and GPG secret store used for generating, storing, and retrieving… stackexchange/blackbox — Blackbox is a GPG secret management tool and asymmetric encryption wrapper used to securely store and share sensitive… bitwarden/android — This project is an Android password manager application that provides an end-to-end encrypted vault for storing and… bitnami-labs/sealed-secrets — Sealed Secrets is a Kubernetes secret encryption tool and controller designed for GitOps security. It provides a… fluxcd/flux2 — Flux is a Kubernetes GitOps delivery tool used to automate application deployments by synchronizing cluster state with…