Working Config With Libs!

This commit is contained in:
2023-03-01 19:14:31 +00:00
parent 10b1faa250
commit 41d73d457e
20 changed files with 88 additions and 198 deletions

18
hosts/sops.nix Normal file
View File

@@ -0,0 +1,18 @@
{ 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;
# };
};
}