dotfiles/modules/services/agenix.nix
2021-09-30 21:29:46 +02:00

12 lines
323 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";
};
}