dotfiles/modules/services/agenix.nix

13 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-30 21:29:46 +02:00
environment.systemPackages = [ inputs.agenix.defaultPackage.x86_64-linux ];
2021-09-14 21:00:26 +02:00
age.secrets.nordvpn.file = ../../secrets/nordvpn.age;
2021-09-14 14:23:16 +02:00
age.secrets.davfs = {
2021-09-14 21:00:26 +02:00
file = ../../secrets/davfs.age;
2021-09-14 14:23:16 +02:00
mode = "600";
path = "/etc/davfs2/secrets";
};
2021-09-14 13:12:34 +02:00
}