nix/home-manager/hosts/nixos-laptop/desktops/gnome/gnome-conf.nix
2023-08-23 20:09:18 +09:00

180 lines
7.2 KiB
Nix

# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, hostname, username, ... }: with lib.hm.gvariant;
let
# Day Variant
day-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper10.jpg";
day-gtk-theme = "vimix-doder";
day-shell-theme = "vimix-doder";
day-icon-theme = "Vimix-Doder";
# Night Variant
night-wallpaper = "file:///etc/nixos/git/wallpapers/gruvbox/wallpaper11.jpg";
night-gtk-theme = "Gruvbox-Dark-BL";
night-shell-theme = "Gruvbox-Dark-BL";
night-icon-theme = "Nordzy-yellow-dark";
in {
# Gnome GTK Settings
gtk.theme = "${night-gtk-theme}";
# Gnome DCONF Settings
dconf.settings = {
"apps/seahorse/listing" = {
keyrings-selected = [ "openssh:///home/${username}/.ssh" ];
};
"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/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/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/background" = {
picture-uri = "${day-wallpaper}";
picture-uri-dark = "${night-wallpaper}";
};
"org/gnome/desktop/calendar" = {
show-weekdate = false;
};
"org/gnome/desktop/interface" = {
clock-show-date = true;
clock-show-weekday = false;
color-scheme = "prefer-dark";
document-font-name = "JetBrainsMonoNL Nerd Font 11";
font-antialiasing = "rgba";
font-hinting = "slight";
font-name = "JetBrainsMonoNL Nerd Font Propo Thin 11";
gtk-theme = "Gruvbox-Dark-BL";
icon-theme = "Nordzy-yellow-dark";
monospace-font-name = "JetBrainsMono Nerd Font 10";
show-battery-percentage = false;
};
"org/gnome/desktop/notifications" = {
show-banners = 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/mutter" = {
edge-tiling = false;
};
"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/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/nightthemeswitcher/gtk-variants" = {
enabled = true;
day = "${day-gtk-theme}";
night = "${night-gtk-theme}";
};
"org/gnome/shell/extensions/nightthemeswitcher/icon-variants" = {
enabled = true;
day = "${day-icon-theme}";
night = "${night-icon-theme}";
};
"org/gnome/shell/extensions/nightthemeswitcher/shell-variants" = {
enabled = true;
day = "${day-shell-theme}";
night = "${night-shell-theme}";
};
"org/gnome/shell/extensions/nightthemeswitcher/time" = {
manual-schedule = true;
nightthemeswitcher-ondemand-keybinding = [ "<Shift><Super>t" ];
sunset = 19.0;
};
"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 ];
};
};
}