diff --git a/docs/icons/nixos/white.png b/docs/icons/nixos/white.png new file mode 100644 index 00000000..8ebfa1cf Binary files /dev/null and b/docs/icons/nixos/white.png differ diff --git a/home-manager/common/software/gui/firefox.nix b/home-manager/common/software/gui/firefox.nix index 4b83599f..6daf0d2d 100644 --- a/home-manager/common/software/gui/firefox.nix +++ b/home-manager/common/software/gui/firefox.nix @@ -843,7 +843,7 @@ * RFP also has a few side effects: mainly timezone is UTC0, and websites will prefer light theme * [NOTE] pbmode applies if true and the original pref is false * [1] https://bugzilla.mozilla.org/418986 ***/ - user_pref("privacy.resistFingerprinting", true); // [FF41+] + user_pref("privacy.resistFingerprinting", false); // [FF41+] // user_pref("privacy.resistFingerprinting.pbmode", true); // [FF114+] /* 4502: set new window size rounding max values [FF55+] * [SETUP-CHROME] sizes round down in hundreds: width to 200s and height to 100s, to fit your screen diff --git a/home-manager/hosts/nixos-desktop/desktops/gnome/default.nix b/home-manager/hosts/nixos-desktop/desktops/gnome/default.nix index 077404aa..996c2ac2 100644 --- a/home-manager/hosts/nixos-desktop/desktops/gnome/default.nix +++ b/home-manager/hosts/nixos-desktop/desktops/gnome/default.nix @@ -1,3 +1,284 @@ +# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix +{ lib, ... }: + +with lib.hm.gvariant; + { - -} \ No newline at end of file + dconf.settings = { + "org/gnome/control-center" = { + last-panel = "background"; + window-state = mkTuple [ 906 704 false ]; + }; + + "org/gnome/desktop/app-folders" = { + folder-children = [ "Utilities" "YaST" "Pardus" ]; + }; + + "org/gnome/desktop/app-folders/folders/Pardus" = { + categories = [ "X-Pardus-Apps" ]; + name = "X-Pardus-Apps.directory"; + translate = true; + }; + + "org/gnome/desktop/app-folders/folders/Utilities" = { + apps = [ "gnome-abrt.desktop" "gnome-system-log.desktop" "nm-connection-editor.desktop" "org.gnome.baobab.desktop" "org.gnome.Connections.desktop" "org.gnome.DejaDup.desktop" "org.gnome.Dictionary.desktop" "org.gnome.DiskUtility.desktop" "org.gnome.Evince.desktop" "org.gnome.FileRoller.desktop" "org.gnome.fonts.desktop" "org.gnome.Loupe.desktop" "org.gnome.seahorse.Application.desktop" "org.gnome.tweaks.desktop" "org.gnome.Usage.desktop" "vinagre.desktop" ]; + categories = [ "X-GNOME-Utilities" ]; + name = "X-GNOME-Utilities.directory"; + translate = true; + }; + + "org/gnome/desktop/app-folders/folders/YaST" = { + categories = [ "X-SuSE-YaST" ]; + name = "suse-yast.directory"; + translate = true; + }; + + "org/gnome/desktop/background" = { + color-shading-type = "solid"; + picture-options = "zoom"; + picture-uri = "file:///home/albert/.local/share/backgrounds/2024-01-01-21-37-50-wallpaper1.png"; + picture-uri-dark = "file:///home/albert/.local/share/backgrounds/2024-01-01-21-37-50-wallpaper1.png"; + primary-color = "#000000000000"; + secondary-color = "#000000000000"; + }; + + "org/gnome/desktop/input-sources" = { + sources = [ (mkTuple [ "xkb" "us" ]) ]; + xkb-options = [ "terminate:ctrl_alt_bksp" ]; + }; + + "org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + font-antialiasing = "grayscale"; + font-hinting = "slight"; + icon-theme = "ePapirus"; + toolkit-accessibility = false; + }; + + "org/gnome/desktop/notifications" = { + application-children = [ "firefox" ]; + }; + + "org/gnome/desktop/notifications/application/firefox" = { + application-id = "firefox.desktop"; + }; + + "org/gnome/desktop/screensaver" = { + color-shading-type = "solid"; + picture-options = "zoom"; + picture-uri = "file:///home/albert/.local/share/backgrounds/2024-01-01-21-37-50-wallpaper1.png"; + primary-color = "#000000000000"; + secondary-color = "#000000000000"; + }; + + "org/gnome/desktop/wm/keybindings" = { + maximize = []; + unmaximize = []; + }; + + "org/gnome/desktop/wm/preferences" = { + button-layout = "appmenu:minimize,maximize,close"; + }; + + "org/gnome/evolution-data-server" = { + migrated = true; + }; + + "org/gnome/mutter" = { + edge-tiling = false; + overlay-key = "Super_L"; + }; + + "org/gnome/mutter/keybindings" = { + toggle-tiled-left = []; + toggle-tiled-right = []; + }; + + "org/gnome/nautilus/preferences" = { + default-folder-viewer = "icon-view"; + migrated-gtk-settings = true; + search-filter-time-type = "last_modified"; + }; + + "org/gnome/nautilus/window-state" = { + initial-size = mkTuple [ 894 692 ]; + }; + + "org/gnome/portal/filechooser/gnome-display-panel" = { + last-folder-path = "/etc/nixos/git/wallpapers/default"; + }; + + "org/gnome/settings-daemon/plugins/color" = { + night-light-enabled = true; + }; + + "org/gnome/shell" = { + disabled-extensions = [ "places-menu@gnome-shell-extensions.gcampax.github.com" "native-window-placement@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com" ]; + enabled-extensions = [ "arcmenu@arcmenu.com" "blur-my-shell@aunetx" "caffeine@patapon.info" "dash-to-panel@jderose9.github.com" "nightthemeswitcher@romainvigier.fr" "tailscale@joaophi.github.com" "tiling-assistant@leleat-on-github" ]; + favorite-apps = [ "org.gnome.Nautilus.desktop" "firefox.desktop" "org.gnome.Console.desktop" "steam.desktop" "bitwarden.desktop" ]; + last-selected-power-profile = "performance"; + welcome-dialog-last-shown-version = "45.2"; + }; + + "org/gnome/shell/extensions/arcmenu" = { + button-padding = 1; + custom-menu-button-icon = "/home/albert/Downloads/white.png"; + custom-menu-button-icon-size = 22.0; + hide-overview-on-startup = true; + menu-background-color = "rgba(28,28,28,0.98)"; + menu-border-color = "rgb(63,62,64)"; + menu-button-appearance = "Icon"; + menu-button-fg-color = mkTuple [ false "rgb(242,242,242)" ]; + menu-button-icon = "Custom_Icon"; + menu-foreground-color = "rgb(211,218,227)"; + menu-item-active-bg-color = "rgba(228,228,226,0.15)"; + menu-item-active-fg-color = "rgb(255,255,255)"; + menu-item-hover-bg-color = "rgba(238,238,236,0.08)"; + menu-item-hover-fg-color = "rgb(255,255,255)"; + menu-layout = "Tognee"; + menu-separator-color = "rgb(63,62,64)"; + override-menu-theme = false; + prefs-visible-page = 0; + search-entry-border-radius = mkTuple [ true 25 ]; + }; + + "org/gnome/shell/extensions/caffeine" = { + indicator-position-max = 2; + }; + + "org/gnome/shell/extensions/dash-to-panel" = { + animate-appicon-hover = false; + animate-appicon-hover-animation-extent = { + RIPPLE = 4; + PLANK = 4; + SIMPLE = 1; + }; + appicon-margin = 0; + appicon-padding = 4; + available-monitors = [ 1 0 ]; + dot-color-dominant = false; + dot-color-override = false; + dot-color-unfocused-different = false; + dot-position = "BOTTOM"; + dot-style-focused = "DASHES"; + dot-style-unfocused = "DOTS"; + focus-highlight-dominant = false; + hide-overview-on-startup = true; + hotkeys-overlay-combo = "TEMPORARILY"; + leftbox-padding = -1; + multi-monitors = false; + panel-anchors = '' + {"0":"MIDDLE","1":"MIDDLE"} + ''; + panel-element-positions = '' + {"0":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}],"1":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}]} + ''; + panel-lengths = '' + {"0":100,"1":100} + ''; + panel-sizes = '' + {"0":32,"1":32} + ''; + primary-monitor = 1; + status-icon-padding = -1; + trans-panel-opacity = 0.35000000000000003; + trans-use-custom-bg = false; + trans-use-custom-opacity = true; + trans-use-dynamic-opacity = true; + tray-padding = 0; + window-preview-title-position = "TOP"; + }; + + "org/gnome/shell/extensions/nightthemeswitcher/gtk-variants" = { + night = "Adwaita-dark"; + }; + + "org/gnome/shell/extensions/nightthemeswitcher/time" = { + manual-schedule = true; + nightthemeswitcher-ondemand-keybinding = [ "t" ]; + sunset = 16.0; + }; + + "org/gnome/shell/extensions/tiling-assistant" = { + activate-layout0 = []; + activate-layout1 = []; + activate-layout2 = []; + activate-layout3 = []; + active-window-hint = 0; + active-window-hint-color = "rgb(53,132,228)"; + auto-tile = []; + center-window = []; + debugging-free-rects = []; + debugging-show-tiled-rects = []; + default-move-mode = 0; + dynamic-keybinding-behavior = 0; + import-layout-examples = false; + last-version-installed = 44; + restore-window = [ "Down" ]; + search-popup-layout = []; + single-screen-gap = 8; + tile-bottom-half = [ "KP_2" ]; + tile-bottom-half-ignore-ta = []; + tile-bottomleft-quarter = [ "KP_1" ]; + tile-bottomleft-quarter-ignore-ta = []; + tile-bottomright-quarter = [ "KP_3" ]; + tile-bottomright-quarter-ignore-ta = []; + tile-edit-mode = [ "t" ]; + tile-left-half = [ "Left" "KP_4" ]; + tile-left-half-ignore-ta = []; + tile-maximize = [ "Up" "KP_5" ]; + tile-maximize-horizontally = []; + tile-maximize-vertically = []; + tile-right-half = [ "Right" "KP_6" ]; + tile-right-half-ignore-ta = []; + tile-top-half = [ "KP_8" ]; + tile-top-half-ignore-ta = []; + tile-topleft-quarter = [ "KP_7" ]; + tile-topleft-quarter-ignore-ta = []; + tile-topright-quarter = [ "KP_9" ]; + tile-topright-quarter-ignore-ta = []; + toggle-always-on-top = []; + toggle-tiling-popup = []; + window-gap = 8; + }; + + "org/gnome/shell/world-clocks" = { + locations = []; + }; + + "org/gnome/tweaks" = { + show-extensions-notice = false; + }; + + "org/gtk/gtk4/settings/file-chooser" = { + date-format = "regular"; + location-mode = "path-bar"; + show-hidden = false; + show-size-column = true; + show-type-column = true; + sidebar-width = 140; + sort-column = "name"; + sort-directories-first = true; + sort-order = "ascending"; + type-format = "category"; + view-type = "list"; + window-size = mkTuple [ 760 582 ]; + }; + + "org/gtk/settings/file-chooser" = { + date-format = "regular"; + location-mode = "path-bar"; + show-hidden = false; + show-size-column = true; + show-type-column = true; + sidebar-width = 157; + sort-column = "name"; + sort-directories-first = false; + sort-order = "ascending"; + type-format = "category"; + window-position = mkTuple [ 26 23 ]; + window-size = mkTuple [ 1231 902 ]; + }; + + }; +}