Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, ... }:
- {
- sops.secrets.service-password = {};
- containers.myService = {
- config = { config, ... }: {
- systemd.services.myService = {
- serviceConfig = {
- Environment="PASSWORD=${config.sops.secrets.service-password}";
- };
- };
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement