mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-01 18:11:56 +00:00
sync
This commit is contained in:
17
hosts/common/sops.nix
Normal file
17
hosts/common/sops.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ inputs, lib, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
secrets.discogs_json = {
|
||||
mode = "0440";
|
||||
owner = config.users.users.sstent.name;
|
||||
group = config.users.users.sstent.group;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user