mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
18 lines
425 B
Nix
18 lines
425 B
Nix
{ inputs, lib, config, ... }:
|
|
{
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
];
|
|
|
|
sops = {
|
|
# defaultSopsFile = ./secrets.yaml;
|
|
defaultSopsFile = "${config._secretstore}/host-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;
|
|
# };
|
|
};
|
|
|
|
} |