dotfiles/modules/agenix.nix

15 lines
323 B
Nix
Raw Normal View History

2021-09-14 13:12:34 +02:00
{ config, lib, pkgs, inputs, ... }:
{
2021-09-14 18:43:05 +02:00
services.sshd.enable = true;
2021-09-14 13:12:34 +02:00
environment.systemPackages = [
inputs.agenix.defaultPackage.x86_64-linux
];
age.secrets.nordvpn.file = ../secrets/nordvpn.age;
2021-09-14 14:23:16 +02:00
age.secrets.davfs = {
file = ../secrets/davfs.age;
mode = "600";
path = "/etc/davfs2/secrets";
};
2021-09-14 13:12:34 +02:00
}