mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
18 lines
386 B
Nix
18 lines
386 B
Nix
{inputs, ...}: {
|
|
flake.nixosModules.agenix = {pkgs, ...}: {
|
|
environment.systemPackages = [
|
|
inputs.agenix.packages.${pkgs.system}.default
|
|
pkgs.age
|
|
];
|
|
age.identityPaths = [
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
|
];
|
|
age.secrets.ntfy = {
|
|
file = ../../secrets/ntfy.age;
|
|
owner = "tomasr";
|
|
group = "users";
|
|
mode = "0400";
|
|
};
|
|
};
|
|
}
|