dotfiles/modules/services/agenix.nix
2021-10-03 18:39:08 +02:00

14 lines
441 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";
};
age.secrets.smbMoritz.file = ../../secrets/smbMoritz.age;
age.secrets.smbMedia.file = ../../secrets/smbMedia.age;
}