feat: web-arm add atticd
This commit is contained in:
@@ -197,6 +197,16 @@ in {
|
||||
"/var/lib/atticd"
|
||||
];
|
||||
|
||||
fileSystems."/var/lib/atticd/storage" = {
|
||||
device = "//u149513.your-backup.de/u149513-sub9/";
|
||||
fsType = "cifs";
|
||||
options = let
|
||||
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s,user,users,file_mode=0770,dir_mode=0770";
|
||||
in ["${automount_opts},credentials=${config.sops.secrets.atticd-smb-credentials.path},uid=atticd,gid=atticd"];
|
||||
};
|
||||
|
||||
sops.secrets.atticd-smb-credentials = {};
|
||||
|
||||
# Monitoring with Prometheus (if you have it set up)
|
||||
# services.prometheus.scrapeConfigs = [{
|
||||
# job_name = "atticd";
|
||||
|
||||
Reference in New Issue
Block a user