From 0f9f4b482cfc92d8b4abee7c79181652149e9486 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 12 May 2024 02:01:56 -0700 Subject: [PATCH] Comment out NetworkManager hardening Signed-off-by: Tommy --- fedora/fedora-gnome.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fedora/fedora-gnome.sh b/fedora/fedora-gnome.sh index b03c7f0..039e646 100644 --- a/fedora/fedora-gnome.sh +++ b/fedora/fedora-gnome.sh @@ -133,8 +133,9 @@ echo 'libhardened_malloc.so' | sudo tee /etc/ld.so.preload # Setup networking # We don't need the usual mac address randomization and stuff here, because this template is not used for sys-net -sudo mkdir -p /etc/systemd/system/NetworkManager.service.d -unpriv curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf +# This breaks saving network settings with the Fedora 40 template rn, so I am commenting it out. +#sudo mkdir -p /etc/systemd/system/NetworkManager.service.d +#unpriv curl --proxy http://127.0.0.1:8082 https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/NetworkManager.service.d/99-brace.conf | sudo tee /etc/systemd/system/NetworkManager.service.d/99-brace.conf # Fix GNOME environment variable echo 'XDG_CURRENT_DESKTOP=GNOME' | sudo tee -a /etc/environment \ No newline at end of file