diff --git a/hosts/nixos-laptop/home-manager/gnome-dconf.nix b/hosts/nixos-laptop/home-manager/gnome-dconf.nix index ffcab74a..360c62ef 100644 --- a/hosts/nixos-laptop/home-manager/gnome-dconf.nix +++ b/hosts/nixos-laptop/home-manager/gnome-dconf.nix @@ -1,195 +1,168 @@ # Generated via dconf2nix: https://github.com/gvolpe/dconf2nix -{ lib, ... }: +{ lib, ... }: with lib.hm.gvariant; +let: + # Day Variant + day-wallpaper = "file:////etc/nixos/git/desktops/wallpaper/gruvbox/wallpaper10.jpg"; + day-gtk-theme = "vimix-doder"; + day-shell-theme = "vimix-doder"; + day-icon-theme = "Vimix-Doder"; -with lib.hm.gvariant; + # Night Variant + night-wallpaper = "file:////etc/nixos/git/desktops/wallpaper/gruvbox/wallpaper11.jpg"; + night-gtk-theme = "vimix-dark-doder"; + night-shell-theme = "vimix-dark-doder"; + night-icon-theme = "Vimix-Doder-dark"; -{ - dconf.settings = { - "apps/seahorse/listing" = { - keyrings-selected = [ "openssh:///home/albert/.ssh" ]; - }; +in: { + { + dconf.settings = { + "apps/seahorse/listing" = { + keyrings-selected = [ "openssh:///home/albert/.ssh" ]; + }; - "org/gnome/GWeather4" = { - temperature-unit = "centigrade"; - }; + "org/gnome/GWeather4" = { + temperature-unit = "centigrade"; + }; - "org/gnome/Weather" = { - locations = "[<(uint32 2, <('Osaka International Airport', 'RJOO', false, [(0.60708368566759674, 2.3640484718263193)], @a(dd) [])>)>]"; - }; + "org/gnome/Weather" = { + locations = "[<(uint32 2, <('Osaka International Airport', 'RJOO', false, [(0.60708368566759674, 2.3640484718263193)], @a(dd) [])>)>]"; + }; - "org/gnome/clocks" = { - world-clocks = "[{'location': <(uint32 2, <('Los Angeles', 'KCQT', true, [(0.59370283970450188, -2.0644336110828618)], [(0.59432360095955872, -2.063741622941031)])>)>}, {'location': <(uint32 2, <('Dallas', 'KDAL', true, [(0.57338429251143708, -1.690448351049749)], [(0.57217226606568217, -1.6895950770317414)])>)>}, {'location': <(uint32 2, <('Washington', 'KDCA', true, [(0.67803131976116615, -1.3444998506811625)], [(0.67884776733195662, -1.344538230471414)])>)>}, {'location': <(uint32 2, <('Coordinated Universal Time (UTC)', '@UTC', false, @a(dd) [], @a(dd) [])>)>}]"; - }; + "org/gnome/clocks" = { + world-clocks = "[{'location': <(uint32 2, <('Los Angeles', 'KCQT', true, [(0.59370283970450188, -2.0644336110828618)], [(0.59432360095955872, -2.063741622941031)])>)>}, {'location': <(uint32 2, <('Dallas', 'KDAL', true, [(0.57338429251143708, -1.690448351049749)], [(0.57217226606568217, -1.6895950770317414)])>)>}, {'location': <(uint32 2, <('Washington', 'KDCA', true, [(0.67803131976116615, -1.3444998506811625)], [(0.67884776733195662, -1.344538230471414)])>)>}, {'location': <(uint32 2, <('Coordinated Universal Time (UTC)', '@UTC', false, @a(dd) [], @a(dd) [])>)>}]"; + }; - "org/gnome/clocks/state/window" = { - maximized = false; - panel-id = "world"; - size = mkTuple [ 870 690 ]; - }; + "org/gnome/clocks/state/window" = { + maximized = false; + panel-id = "world"; + size = mkTuple [ 870 690 ]; + }; - "org/gnome/desktop/app-folders" = { - folder-children = [ "Utilities" "YaST" ]; - }; + "org/gnome/desktop/app-folders" = { + folder-children = [ "Utilities" "YaST" ]; + }; - "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.eog.desktop" "org.gnome.Evince.desktop" "org.gnome.FileRoller.desktop" "org.gnome.fonts.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/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.eog.desktop" "org.gnome.Evince.desktop" "org.gnome.FileRoller.desktop" "org.gnome.fonts.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" = { + picture-uri = ${day-wallpaper}; + picture-uri-dark = ${night-wallpaper}; + }; - "org/gnome/desktop/background" = { - color-shading-type = "solid"; - picture-options = "zoom"; - picture-uri = "file:////etc/nixos/git/desktops/wallpaper/gruvbox/wallpaper10.jpg"; - picture-uri-dark = "file:////etc/nixos/git/desktops/wallpaper/gruvbox/wallpaper10.jpg"; - primary-color = "#3a4ba0"; - secondary-color = "#2f302f"; - }; + "org/gnome/desktop/calendar" = { + show-weekdate = false; + }; - "org/gnome/desktop/calendar" = { - show-weekdate = false; - }; + "org/gnome/desktop/interface" = { + clock-show-date = true; + clock-show-weekday = false; + }; - "org/gnome/desktop/interface" = { - clock-show-date = true; - clock-show-weekday = false; - color-scheme = "prefer-dark"; - cursor-theme = "Adwaita"; - font-antialiasing = "grayscale"; - font-hinting = "slight"; - gtk-theme = "vimix-dark-doder"; - icon-theme = "Vimix-Doder-dark"; - }; + "org/gnome/desktop/notifications" = { + show-banners = true; + }; - "org/gnome/desktop/notifications" = { - show-banners = true; - }; + "org/gnome/desktop/peripherals/touchpad" = { + tap-to-click = true; + two-finger-scrolling-enabled = true; + }; - "org/gnome/desktop/peripherals/touchpad" = { - tap-to-click = true; - two-finger-scrolling-enabled = true; - }; + "org/gnome/desktop/wm/preferences" = { + button-layout = "appmenu:minimize,maximize,close"; + }; - "org/gnome/desktop/wm/preferences" = { - button-layout = "appmenu:minimize,maximize,close"; - }; + "org/gnome/mutter" = { + edge-tiling = false; + }; - "org/gnome/mutter" = { - edge-tiling = false; - }; + "org/gnome/settings-daemon/plugins/color" = { + night-light-enabled = true; + night-light-temperature = mkUint32 3418; + }; - "org/gnome/settings-daemon/plugins/color" = { - night-light-enabled = true; - night-light-temperature = mkUint32 3418; - }; + "org/gnome/shell" = { + app-picker-layout = "[{'org.gnome.Extensions.desktop': <{'position': <0>}>, 'htop.desktop': <{'position': <1>}>, 'nixos-manual.desktop': <{'position': <2>}>, 'nvidia-settings.desktop': <{'position': <3>}>, 'vlc.desktop': <{'position': <4>}>, 'xterm.desktop': <{'position': <5>}>, 'org.gnome.Settings.desktop': <{'position': <6>}>, 'org.gnome.Calculator.desktop': <{'position': <7>}>, 'org.gnome.clocks.desktop': <{'position': <8>}>, 'org.gnome.Contacts.desktop': <{'position': <9>}>, 'simple-scan.desktop': <{'position': <10>}>, 'yelp.desktop': <{'position': <11>}>, 'org.gnome.Calendar.desktop': <{'position': <12>}>, 'gnome-system-monitor.desktop': <{'position': <13>}>, 'org.gnome.TextEditor.desktop': <{'position': <14>}>, 'Utilities': <{'position': <15>}>, 'org.gnome.Weather.desktop': <{'position': <16>}>, 'org.gnome.Photos.desktop': <{'position': <17>}>}]"; + disable-user-extensions = false; + disabled-extensions = [ "workspace-indicator@gnome-shell-extensions.gcampax.github.com" ]; + enabled-extensions = [ "blur-my-shell@aunetx" "caffeine@patapon.info" "dash-to-dock@micxgx.gmail.com" "user-theme@gnome-shell-extensions.gcampax.github.com" "Vitals@CoreCoding.com" "tiling-assistant@leleat-on-github" "hibernate-status@dromi" "nightthemeswitcher@romainvigier.fr" ]; + favorite-apps = [ "org.gnome.Nautilus.desktop" "firefox.desktop" "org.gnome.Console.desktop" "bitwarden.desktop" "steam.desktop" "net.lutris.Lutris.desktop" ]; + welcome-dialog-last-shown-version = "44.2"; + }; - "org/gnome/shell" = { - app-picker-layout = "[{'org.gnome.Extensions.desktop': <{'position': <0>}>, 'htop.desktop': <{'position': <1>}>, 'nixos-manual.desktop': <{'position': <2>}>, 'nvidia-settings.desktop': <{'position': <3>}>, 'vlc.desktop': <{'position': <4>}>, 'xterm.desktop': <{'position': <5>}>, 'org.gnome.Settings.desktop': <{'position': <6>}>, 'org.gnome.Calculator.desktop': <{'position': <7>}>, 'org.gnome.clocks.desktop': <{'position': <8>}>, 'org.gnome.Contacts.desktop': <{'position': <9>}>, 'simple-scan.desktop': <{'position': <10>}>, 'yelp.desktop': <{'position': <11>}>, 'org.gnome.Calendar.desktop': <{'position': <12>}>, 'gnome-system-monitor.desktop': <{'position': <13>}>, 'org.gnome.TextEditor.desktop': <{'position': <14>}>, 'Utilities': <{'position': <15>}>, 'org.gnome.Weather.desktop': <{'position': <16>}>, 'org.gnome.Photos.desktop': <{'position': <17>}>}]"; - disable-user-extensions = false; - disabled-extensions = [ "workspace-indicator@gnome-shell-extensions.gcampax.github.com" ]; - enabled-extensions = [ "blur-my-shell@aunetx" "caffeine@patapon.info" "dash-to-dock@micxgx.gmail.com" "user-theme@gnome-shell-extensions.gcampax.github.com" "Vitals@CoreCoding.com" "tiling-assistant@leleat-on-github" "hibernate-status@dromi" "nightthemeswitcher@romainvigier.fr" ]; - favorite-apps = [ "org.gnome.Nautilus.desktop" "firefox.desktop" "org.gnome.Console.desktop" "bitwarden.desktop" "steam.desktop" "net.lutris.Lutris.desktop" ]; - welcome-dialog-last-shown-version = "44.2"; - }; + "org/gnome/shell/extensions/caffeine" = { + indicator-position-max = 3; + }; - "org/gnome/shell/extensions/caffeine" = { - indicator-position-max = 3; - }; + "org/gnome/shell/extensions/dash-to-dock" = { + apply-custom-theme = false; + background-opacity = 0.8; + custom-theme-shrink = true; + dance-urgent-applications = true; + dash-max-icon-size = 40; + disable-overview-on-startup = true; + dock-position = "BOTTOM"; + height-fraction = 0.9; + icon-size-fixed = false; + isolate-workspaces = false; + show-icons-emblems = true; + show-icons-notifications-counter = true; + show-show-apps-button = false; + show-windows-preview = true; + transparency-mode = "FIXED"; + }; - "org/gnome/shell/extensions/dash-to-dock" = { - apply-custom-theme = false; - background-opacity = 0.8; - custom-theme-shrink = true; - dance-urgent-applications = true; - dash-max-icon-size = 40; - disable-overview-on-startup = true; - dock-position = "BOTTOM"; - height-fraction = 0.9; - icon-size-fixed = false; - isolate-workspaces = false; - show-icons-emblems = true; - show-icons-notifications-counter = true; - show-show-apps-button = false; - show-windows-preview = true; - transparency-mode = "FIXED"; - }; + "org/gnome/shell/extensions/nightthemeswitcher/gtk-variants" = { + enabled = true; + day = ${day-gtk-theme}; + night = ${night-gtk-theme}; + }; - "org/gnome/shell/extensions/nightthemeswitcher/cursor-variants" = { - enabled = false; - }; + "org/gnome/shell/extensions/nightthemeswitcher/icon-variants" = { + enabled = true; + day = ${day-icon-theme}; + night = ${night-icon-theme}; + }; - "org/gnome/shell/extensions/nightthemeswitcher/gtk-variants" = { - day = "vimix-doder"; - enabled = true; - night = "vimix-dark-doder"; - }; + "org/gnome/shell/extensions/nightthemeswitcher/shell-variants" = { + enabled = true; + day = ${day-shell-theme}; + night = ${night-shell-theme}; + }; - "org/gnome/shell/extensions/nightthemeswitcher/icon-variants" = { - day = "Vimix-Doder"; - enabled = true; - night = "Vimix-Doder-dark"; - }; + "org/gnome/shell/extensions/nightthemeswitcher/time" = { + manual-schedule = true; + nightthemeswitcher-ondemand-keybinding = [ "t" ]; + sunset = 19.0; + }; - "org/gnome/shell/extensions/nightthemeswitcher/shell-variants" = { - day = "vimix-doder"; - enabled = true; - night = "vimix-dark-doder"; - }; + "org/gnome/shell/weather" = { + automatic-location = true; + locations = "[<(uint32 2, <('Osaka International Airport', 'RJOO', false, [(0.60708368566759674, 2.3640484718263193)], @a(dd) [])>)>]"; + }; - "org/gnome/shell/extensions/nightthemeswitcher/time" = { - manual-schedule = true; - nightthemeswitcher-ondemand-keybinding = [ "t" ]; - sunset = 19.0; - }; + "org/gnome/tweaks" = { + show-extensions-notice = false; + }; - "org/gnome/shell/extensions/user-theme" = { - name = "vimix-dark-doder"; - }; - - "org/gnome/shell/weather" = { - automatic-location = true; - locations = "[<(uint32 2, <('Osaka International Airport', 'RJOO', false, [(0.60708368566759674, 2.3640484718263193)], @a(dd) [])>)>]"; - }; - - "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 = false; - sort-order = "ascending"; - type-format = "category"; - view-type = "list"; - window-size = mkTuple [ 859 453 ]; - }; - - "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 = 175; - sort-column = "name"; - sort-directories-first = false; - sort-order = "ascending"; - type-format = "category"; - window-position = mkTuple [ 30 26 ]; - window-size = mkTuple [ 1203 902 ]; + "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 = false; + sort-order = "ascending"; + type-format = "category"; + view-type = "list"; + window-size = mkTuple [ 859 453 ]; + }; }; }; }