dotfiles/modules/services/agenix.nix

18 lines
452 B
Nix

{ config, lib, pkgs, inputs, ... }:
{
services.sshd.enable = true;
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;
age.secrets.spotify = {
file = ../../secrets/spotify.age;
owner = "1000";
};
}