dotfiles/modules/services/agenix.nix
2021-09-14 21:00:26 +02:00

14 lines
329 B
Nix

{ config, lib, pkgs, inputs, ... }:
{
services.sshd.enable = true;
environment.systemPackages = [
inputs.agenix.defaultPackage.x86_64-linux
];
age.secrets.nordvpn.file = ../../secrets/nordvpn.age;
age.secrets.davfs = {
file = ../../secrets/davfs.age;
mode = "600";
path = "/etc/davfs2/secrets";
};
}