From 23b2d587df2af8a18d96ce9756394850cd42a319 Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Thu, 14 Dec 2023 22:00:46 +0100 Subject: [PATCH] Cleanup --- common/etc/audit/rules.d/disable.rules | 1 - common/etc/sysctl.d/99-common.conf | 1 + common/etc/vimrc | 2 -- common/etc/virc | 2 -- desktop/etc/dconf/db/config.d/config | 3 --- desktop/etc/gtk-3.0/settings.ini | 2 -- .../x86_64/stable/defaults/pref/config.js | 14 -------------- misc/vscode.json | 1 - setup-laptop.sh | 2 +- setup-qubes-fedora.sh | 2 +- 10 files changed, 3 insertions(+), 27 deletions(-) delete mode 100644 common/etc/audit/rules.d/disable.rules delete mode 100644 desktop/etc/gtk-3.0/settings.ini diff --git a/common/etc/audit/rules.d/disable.rules b/common/etc/audit/rules.d/disable.rules deleted file mode 100644 index 98dd346..0000000 --- a/common/etc/audit/rules.d/disable.rules +++ /dev/null @@ -1 +0,0 @@ --e 0 diff --git a/common/etc/sysctl.d/99-common.conf b/common/etc/sysctl.d/99-common.conf index 9ca1d1a..bc4f84c 100644 --- a/common/etc/sysctl.d/99-common.conf +++ b/common/etc/sysctl.d/99-common.conf @@ -2,6 +2,7 @@ dev.tty.ldisc_autoload=0 fs.protected_fifos=2 fs.protected_regular=2 fs.suid_dumpable=0 +kernel.core_pattern=/dev/null kernel.dmesg_restrict=1 kernel.hardlockup_panic=1 kernel.kptr_restrict=2 diff --git a/common/etc/vimrc b/common/etc/vimrc index 5835d1e..69020e9 100644 --- a/common/etc/vimrc +++ b/common/etc/vimrc @@ -3,13 +3,11 @@ set autoindent set backspace=eol,indent,start set expandtab set hlsearch -set ignorecase set incsearch set mouse=a set noswapfile set nowrap set shiftwidth=2 -set smartcase set tabstop=2 set viminfo="" set whichwrap=<>[] diff --git a/common/etc/virc b/common/etc/virc index db3cb43..b3069f3 100644 --- a/common/etc/virc +++ b/common/etc/virc @@ -3,13 +3,11 @@ set autoindent set backspace=eol,indent,start set expandtab set hlsearch -set ignorecase set incsearch set mouse=a set noswapfile set nowrap set shiftwidth=2 -set smartcase set tabstop=2 set viminfo="" set whichwrap=<>[] diff --git a/desktop/etc/dconf/db/config.d/config b/desktop/etc/dconf/db/config.d/config index 2d758c4..672b745 100644 --- a/desktop/etc/dconf/db/config.d/config +++ b/desktop/etc/dconf/db/config.d/config @@ -8,13 +8,10 @@ show-battery-percentage=true show-in-lock-screen=false [org/gnome/desktop/peripherals/touchpad] disable-while-typing=false -natural-scroll=false [org/gnome/desktop/privacy] remember-recent-files=false remove-old-temp-files=true remove-old-trash-files=true -[org/gnome/desktop/search-providers] -disable-external=true [org/gnome/shell] disable-user-extensions=true [org/gnome/shell/app-switcher] diff --git a/desktop/etc/gtk-3.0/settings.ini b/desktop/etc/gtk-3.0/settings.ini deleted file mode 100644 index 2189857..0000000 --- a/desktop/etc/gtk-3.0/settings.ini +++ /dev/null @@ -1,2 +0,0 @@ -[Settings] -gtk-application-prefer-dark-theme = true diff --git a/desktop/var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/config.js b/desktop/var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/config.js index d86cd10..206d914 100644 --- a/desktop/var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/config.js +++ b/desktop/var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/config.js @@ -1,28 +1,18 @@ pref("accessibility.typeaheadfind", false); pref("app.normandy.enabled", false); pref("browser.aboutConfig.showWarning", false); -pref("browser.cache.disk.enable", false); pref("browser.compactmode.show", true); pref("browser.contentblocking.category", "strict"); pref("browser.ctrlTab.sortByRecentlyUsed", true); -pref("browser.download.alwaysOpenPanel", false); pref("browser.download.always_ask_before_handling_new_types", true); pref("browser.download.useDownloadDir", false); pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); pref("browser.privatebrowsing.autostart", true); -pref("browser.safebrowsing.downloads.enabled", false); -pref("browser.safebrowsing.malware.enabled", false); -pref("browser.safebrowsing.phishing.enabled", false); pref("browser.tabs.firefox-view", false); pref("browser.tabs.searchclipboardfor.middleclick", false); pref("browser.uidensity", 1); -pref("browser.uitour.enabled", false); pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); -pref("browser.urlbar.suggest.engines", false); -pref("browser.urlbar.suggest.openpage", false); -pref("browser.urlbar.suggest.topsites", false); -pref("browser.urlbar.trimURLs", false); pref("cookiebanners.service.mode", 1); pref("cookiebanners.service.mode.privateBrowsing", 1); pref("devtools.theme", "dark"); @@ -33,11 +23,7 @@ pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true); pref("middlemouse.paste", false); pref("network.IDN_show_punycode", true); pref("network.http.referer.XOriginTrimmingPolicy", 2); -pref("pdfjs.viewerCssTheme", 2); pref("permissions.manager.defaultsUrl", ""); pref("privacy.donottrackheader.enabled", true); pref("privacy.globalprivacycontrol.enabled", true); -pref("privacy.resistFingerprinting", true); -pref("privacy.resistFingerprinting.block_mozAddonManager", true); -pref("privacy.spoof_english", 2); pref("security.OCSP.enabled", 0); diff --git a/misc/vscode.json b/misc/vscode.json index b58f19d..2405c45 100644 --- a/misc/vscode.json +++ b/misc/vscode.json @@ -7,7 +7,6 @@ "editor.formatOnSave": true, "editor.formatOnType": true, "editor.inlayHints.enabled": "off", - "editor.minimap.enabled": false, "editor.selectionClipboard": false, "editor.smoothScrolling": true, "editor.tabSize": 2, diff --git a/setup-laptop.sh b/setup-laptop.sh index e619d24..1d319f9 100644 --- a/setup-laptop.sh +++ b/setup-laptop.sh @@ -6,4 +6,4 @@ systemctl enable --now sshd systemctl mask --global grub-boot-success.timer flatpak remote-add --if-not-exists flathub /usr/lib/fedora-third-party/conf.d/fedora-flathub.flatpakrepo flatpak remote-modify --subset=floss flathub -flatpak install com.brave.Browser com.github.micahflee.torbrowser-launcher com.github.tchx84.Flatseal com.vscodium.codium com.yubico.yubioath im.riot.Riot io.mpv.Mpv org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox +flatpak install com.github.Eloston.UngoogledChromium com.github.micahflee.torbrowser-launcher com.github.tchx84.Flatseal com.vscodium.codium com.yubico.yubioath im.riot.Riot io.mpv.Mpv org.gimp.GIMP org.gnome.Boxes org.gnome.Calculator org.gnome.Evince org.gnome.Evolution org.gnome.FileRoller org.gnome.Snapshot org.gnome.TextEditor org.libreoffice.LibreOffice org.mozilla.firefox diff --git a/setup-qubes-fedora.sh b/setup-qubes-fedora.sh index fdf96b3..6a4e71a 100644 --- a/setup-qubes-fedora.sh +++ b/setup-qubes-fedora.sh @@ -2,7 +2,7 @@ set -e cp -R desktop/* qubes-fedora/* / dnf config-manager --set-enabled qubes-vm-r4.2-security-testing qubes-vm-r4.2-current-testing rpmfusion-free rpmfusion-free-updates -dnf install --allowerasing bash-completion bind-utils btrfs-progs butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gjs htop imv libreoffice mozilla-ublock-origin mpv nautilus netcat qubes-ctap sequoia-sq ShellCheck toolbox vim-trailing-whitespace wireguard-tools whois xdg-desktop-portal-gtk yt-dlp +dnf install --allowerasing bash-completion bind-utils btrfs-progs butane default-fonts fcitx5-anthy fcitx5-autostart fedora-flathub-remote ffmpeg file-roller flatseal fuse-sshfs gjs glibc-all-langpacks htop hunspell-* imv libreoffice mpv nautilus netcat qubes-ctap sequoia-sq ShellCheck toolbox vim-trailing-whitespace wireguard-tools whois xdg-desktop-portal-gtk yt-dlp dnf remove cheese gnome-software gnome-weather thunderbird totem sh setup-desktop.sh ln -sf /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/* /etc/firefox