≈ the.bay.news

Cannot get sops-nix to work

NixOS Discourse
Cannot get sops-nix to work
I want to use sops-nix to encrypt/decrypt credentials for a webdav storage box with the ssh ed22519 present in the home directory (chmod 600). My configuration.nix: ```sops = { defaultSopsFile = ./secrets.yaml; age.sshKeyPaths = [ "/home/{user}/.ssh/id_ed25519" ]; secrets.webdav = { sopsFile = ./secrets.yaml; mode = "0600"; path = "/etc/davfs2/secrets"; }; }; .sops.yaml: ```keys: - &my_key ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK8IeWZuRU7...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.