dotfiles/modules/agenix.nix

15 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";
};
}