mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
17 lines
322 B
Nix
17 lines
322 B
Nix
{sops-nix, ...}: {
|
|
pkgs,
|
|
self,
|
|
config,
|
|
...
|
|
}: {
|
|
imports = [
|
|
sops-nix.nixosModules.sops
|
|
];
|
|
environment.systemPackages = [
|
|
pkgs.sops
|
|
];
|
|
sops = {
|
|
defaultSopsFile = self + "/systems/" + config.networking.hostName + "/secrets.yaml";
|
|
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
|
};
|
|
}
|