mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
17 lines
364 B
Nix
17 lines
364 B
Nix
{inputs, ...}: {
|
|
flake.nixosModules.agenix = {pkgs, ...}: {
|
|
environment.systemPackages = [
|
|
inputs.agenix.packages.${pkgs.system}.default
|
|
];
|
|
age.identityPaths = [
|
|
"/home/tomasr/.ssh/id_ed25519"
|
|
];
|
|
age.secrets.ntfy = {
|
|
file = ../../secrets/ntfy.age;
|
|
owner = "tomasr";
|
|
group = "users";
|
|
mode = "0400";
|
|
};
|
|
};
|
|
}
|