nas prems
This commit is contained in:
parent
2d50a163c2
commit
bf59859fb0
2 changed files with 11 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
systemd.mounts = let
|
systemd.mounts = let
|
||||||
opts = {
|
opts = {
|
||||||
type = "cifs";
|
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 [
|
in [
|
||||||
(opts
|
(opts
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,16 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
services.rsyslogd = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
module(load="imudp")
|
||||||
|
input(type="imudp" port="514")
|
||||||
|
|
||||||
|
THENAS.* -/var/log/THENAS
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# boot.kernelPatches = [
|
# boot.kernelPatches = [
|
||||||
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
||||||
# {
|
# {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue