Add secrets file configuration to nix
This commit is contained in:
@@ -60,6 +60,13 @@
|
||||
git
|
||||
];
|
||||
|
||||
# Secrets file
|
||||
sops.age.keyFile = "/home/me/.config/sops/age/keys.txt";
|
||||
sops.secrets."main.env" = {
|
||||
sopsFile = ../secrets/main.env;
|
||||
format = "dotenv";
|
||||
};
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user