From bf59859fb098c002cfdd8706f58b9a37fc6c128b Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sun, 9 Mar 2025 00:17:24 -0800 Subject: [PATCH] nas prems --- extras/uwuraid.nix | 2 +- systems/NOlaptop.nix | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/extras/uwuraid.nix b/extras/uwuraid.nix index 883b7db..490d30a 100644 --- a/extras/uwuraid.nix +++ b/extras/uwuraid.nix @@ -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 diff --git a/systems/NOlaptop.nix b/systems/NOlaptop.nix index 2e62a4a..bf91afa 100644 --- a/systems/NOlaptop.nix +++ b/systems/NOlaptop.nix @@ -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") # {