mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-29 00:21:56 +00:00
Working Config With Libs!
This commit is contained in:
18
hosts/sops.nix
Normal file
18
hosts/sops.nix
Normal 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;
|
||||
# };
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user