update to 24.05
This commit is contained in:
@@ -5,16 +5,17 @@
|
||||
music-path /mnt/two/music/
|
||||
podcast-path /data/podcasts
|
||||
cache-path /data/cache
|
||||
playlists-path /data/playlists
|
||||
'';
|
||||
mossnet.gonic.user = "headphones";
|
||||
mossnet.gonic.user = "gonic";
|
||||
mossnet.gonic.group = "audio";
|
||||
networking.firewall.allowedTCPPorts = [ 4747 ];
|
||||
|
||||
users.users.gonic = {
|
||||
uid = config.ids.uids.headphones;
|
||||
# uid = config.ids.uids.headphones;
|
||||
# isSystemUser = true;
|
||||
group = "audio";
|
||||
home = "/var/lib/headphones";
|
||||
# home = "/var/lib/headphones";
|
||||
createHome = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -68,14 +68,10 @@ in
|
||||
Group = cfg.group;
|
||||
DevicePolicy = "closed";
|
||||
NoNewPrivileges = " yes";
|
||||
PrivateTmp = "yes";
|
||||
PrivateUsers = "yes";
|
||||
ProtectControlGroups = "yes";
|
||||
ProtectKernelModules = "yes";
|
||||
ProtectKernelTunables = "yes";
|
||||
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
||||
RestrictNamespaces = "yes";
|
||||
RestrictRealtime = "yes";
|
||||
SystemCallFilter = "~@clock @debug @module @mount @obsolete @privileged @reboot @setuid @swap";
|
||||
ReadWritePaths = dataFolder;
|
||||
StateDirectory = baseNameOf dataFolder;
|
||||
|
||||
Reference in New Issue
Block a user