nas prems

This commit is contained in:
Tao Tien 2025-03-09 00:17:24 -08:00
parent 2d50a163c2
commit bf59859fb0
2 changed files with 11 additions and 1 deletions

View file

@ -3,7 +3,7 @@
systemd.mounts = let
opts = {
type = "cifs";
mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,uid=1000,gid=100";};
mountConfig = {Options = "x-systemd.automount,users,noauto,credentials=${config.age.secrets.uwuraid.path},noatime,gid=100";};
};
in [
(opts

View file

@ -4,6 +4,16 @@
pkgs,
...
}: {
services.rsyslogd = {
enable = true;
extraConfig = ''
module(load="imudp")
input(type="imudp" port="514")
THENAS.* -/var/log/THENAS
'';
};
# boot.kernelPatches = [
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
# {