some things (tiny commit ik)

This commit is contained in:
xunuwu 2024-10-21 21:56:47 +02:00
parent 6b76450816
commit 2c282d8bf7
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
38 changed files with 771 additions and 102 deletions

View file

@ -0,0 +1,21 @@
{config, ...}: {
systemd.mounts = [
{
description = "smb hopper transmission download directory";
what = "//192.168.50.97/transmission"; # hopper local ip
where = "/server/transmission";
type = "cifs";
options = builtins.readFile ./smbcreds;
}
];
systemd.automounts = [
{
requires = ["network-online.target"];
where = "/server/transmission";
wantedBy = ["multi-user.target"];
automountConfig = {
TimeoutIdleSec = "10min";
};
}
];
}