mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fixed sops-nix issue?
This commit is contained in:
parent
53b75659fd
commit
30a932907c
1 changed files with 1 additions and 7 deletions
|
|
@ -1,9 +1,7 @@
|
||||||
{sops-nix, ...}: {
|
{sops-nix, ...}: {
|
||||||
pkgs,
|
pkgs,
|
||||||
settings,
|
|
||||||
self,
|
self,
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -14,10 +12,6 @@
|
||||||
];
|
];
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = "${self}/systems/${config.networking.hostName}/secrets.yaml";
|
defaultSopsFile = "${self}/systems/${config.networking.hostName}/secrets.yaml";
|
||||||
age = {
|
age.keyFile = "/persist/sops/age/keys.txt";
|
||||||
sshKeyPaths = lib.mkForce ["/home/${settings.username}/.ssh/id_ed25519"];
|
|
||||||
keyFile = "/etc/sops/age/keys.txt";
|
|
||||||
generateKey = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue