diff --git a/flake.nix b/flake.nix index 042247b..6562000 100644 --- a/flake.nix +++ b/flake.nix @@ -50,10 +50,6 @@ url = "github:makuto/auto-base16-theme"; flake = false; }; - simplefox = { - url = "github:migueravila/SimpleFox"; - flake = false; - }; npmlock2nix = { url = github:nix-community/npmlock2nix; flake = false; diff --git a/home-manager/modules/de2u.nix b/home-manager/modules/de2u.nix index 62544d7..8a67c12 100644 --- a/home-manager/modules/de2u.nix +++ b/home-manager/modules/de2u.nix @@ -57,25 +57,7 @@ in stylus ]); - profiles.default = - let - customize = lib.replaceStrings - (if config.colors.enable then [ - "#19171a" - "#201e21" - "#dedede" - ".urlbarView {\n display: none !important;\n}" - ".tabbrowser-tab:not([pinned]) .tab-icon-image {\n display: none !important;\n}" - ] else [ ]) - (if config.colors.enable then [ - "#${config.colors.base16.base00}" - "#${config.colors.base16.base01}" - "#${config.colors.base16.base05}" - "" - "" - ] else [ ]); - in - { + profiles.default = { settings = { "browser.startup.homepage" = "https://wizbos.club"; @@ -87,28 +69,25 @@ in "privacy.clearOnShutdown.sessions" = false; "privacy.clearOnShutdown.cache" = false; "places.history.enabled" = true; + "network.dns.disableIPv6" = false; + "media.peerconnection.ice.no_host" = false; # Make Jitsi work sanely "media.setsinkid.enabled" = true; "privacy.webrtc.legacyGlobalIndicator" = false; "privacy.webrtc.hideGlobalIndicator" = true; - # Required by SimpleFox, and good regardless + # good tweaks "toolkit.legacyUserProfileCustomizations.stylesheets" = true; "layers.acceleration.force-enabled" = true; "gfx.webrender.all" = true; "svg.context-properties.content.enabled" = true; - # Make Firefox dark, the reader is always light by default, and the GTK-inferred theme conflicts with SimpleFox (and our customizations) - # "extensions.activeThemeID" = "firefox-compact-dark@mozilla.org"; "reader.color_scheme" = "dark"; # LibreWolf ruins the user agent making sites unusable without RFP, so use the user agent from RFP manually. This also seems sane for compatibility when using Firefox. "general.useragent.override" = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"; }; - - # userChrome = customize (builtins.readFile "${inputs.simplefox}/chrome/userChrome.css"); - # userContent = builtins.readFile "${inputs.simplefox}/chrome/userContent.css"; }; }; @@ -134,7 +113,7 @@ in rhythmbox gnomeExtensions.pop-shell - gnomeExtensions.blur-me + gnomeExtensions.blur-my-shell gnomeExtensions.remove-rounded-corners gnomeExtensions.improved-workspace-indicator gnomeExtensions.vitals @@ -148,6 +127,7 @@ in gnomeExtensions.gsconnect gnomeExtensions.sound-output-device-chooser gnomeExtensions.bluetooth-quick-connect + gnomeExtensions.burn-my-windows ]; systemd.user.sessionVariables = { @@ -266,6 +246,7 @@ in "gsconnect@andyholmes.github.io" "desktop-cube@schneegans.github.com" "sound-output-device-chooser@kgshank.net" + "blur-my-shell@aunetx" ]; }; "org/gnome/desktop/peripherals/touchpad" = { @@ -289,14 +270,11 @@ in reduce-panel-spacing = false; hide-dropdown-arrows = true; }; - "org/gnome/shell/extensions/blur-me" = { - toggle-app-blur = false; - }; - "/org/gnome/shell/extensions/com/github/hermes83/compiz-windows-effect" = { + "org/gnome/shell/extensions/com/github/hermes83/compiz-windows-effect" = { resize-effect = true; }; - "/org/gnome/shell/extensions/desktop-cube" = { - workspace-transition-time = 300; + "org/gnome/shell/extensions/desktop-cube" = { + workspace-transition-time = 200; last-first-gap = false; }; "org/gnome/desktop/wm/preferences" = {