feat: web-arm add atticd
This commit is contained in:
parent
465daec0ab
commit
eae7bb0e09
3 changed files with 14 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue