Comments (4)
Mhm. Right. This won't work with flakes. One could have a flake for secrets in a private repo in plain text. I don't know any other solution.
from sops-nix.
See https://github.com/Mic92/sops-nix#using-secrets-at-evaluation-time
from sops-nix.
No. That's not possible. It would basically involve import-from-derivation and adding secret keys to the nix store at which point you can just have plain text secrets. You maybe want to have a look into https://github.com/vlaci/git-agecrypt or similar if you have this usecase (or wait until nix gets native encryption ....).
from sops-nix.
So how would git-agecrypt provide the secret to nix at build time? Is that NixOS/nix#5260 ?
from sops-nix.
Related Issues (20)
- Sops nix as a home-manager module does not create a symlink HOT 22
- Is there a technical reason why yaml aliases are expanded at encryption time? HOT 1
- encrypted yaml with lists sops nixos HOT 2
- [Feature?] Use from devShell flake with direnv HOT 3
- support encrypting plain passwords for hashedPasswordFiles HOT 5
- Binary data embedded in yaml secret file causes template rendering error
- error: attribute 'placeholder' missing HOT 3
- Bug: Failed to set user authorized SSH key file from secret HOT 4
- setting owner and group seems not to work for ids HOT 8
- How to have secrets accessible to multiple services? HOT 1
- hangs on boot when GPG key missing HOT 2
- Activation fails with "not a directory" if a file becomes a directory
- close
- README: example links to removed file HOT 1
- sops-nix failing to switch Home Manager configuration on NixOS 23.11 HOT 23
- sops-nix systemd user unit is failing to start HOT 1
- Can't generate age.keyFile if age.generateKey = true for HM module
- Need help with the config in home-manager HOT 1
- Encryption subkey
- error: attribute 'hasStorePathPrefix' missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sops-nix.