Move nvim config
This commit is contained in:
18
modules/nixos/secrets.nix
Normal file
18
modules/nixos/secrets.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ inputs, config, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
|
||||
age = {
|
||||
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
# keyFile = "/var/lib/sops-nix/key.txt";
|
||||
# generateKey = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user