mochi/.archive/home/modules/programs/de/gnome/default.nix

85 lines
2.4 KiB
Nix
Raw Normal View History

2024-06-20 08:59:56 -05:00
# Adjusted manually from generated output of dconf2nix
# https://github.com/gvolpe/dconf2nix
2024-12-27 21:30:25 -06:00
{
lib,
pkgs,
osConfig,
...
}:
with lib.hm.gvariant;
{
2024-06-20 08:59:56 -05:00
config = lib.mkIf osConfig.mySystem.de.gnome.enable {
# add user packages
2024-12-27 21:30:25 -06:00
home.packages = with pkgs; [
2024-06-20 08:59:56 -05:00
dconf2nix
];
# worked out from dconf2nix
2024-07-29 18:03:33 -05:00
# `dconf dump / | dconf2nix > dconf.nix`
2024-06-20 08:59:56 -05:00
# can also dconf watch
dconf.settings = {
"org/gnome/mutter" = {
edge-tiling = true;
workspaces-only-on-primary = false;
};
2024-07-29 18:00:54 -05:00
"org/gnome/settings-daemon/plugins/media-keys" = {
home = [ "<Super>e" ];
};
2024-06-20 08:59:56 -05:00
"org/gnome/desktop/wm/preferences" = {
2024-12-27 21:30:25 -06:00
workspace-names = [
"sys"
"talk"
"web"
"edit"
"run"
];
2024-08-05 11:21:25 -05:00
button-layout = "appmenu:minimize,close";
2024-06-20 08:59:56 -05:00
};
"org/gnome/shell" = {
2024-12-27 21:30:25 -06:00
disabled-extensions = [
"apps-menu@gnome-shell-extensions.gcampax.github.com"
"light-style@gnome-shell-extensions.gcampax.github.com"
"places-menu@gnome-shell-extensions.gcampax.github.com"
"drive-menu@gnome-shell-extensions.gcampax.github.com"
"window-list@gnome-shell-extensions.gcampax.github.com"
"workspace-indicator@gnome-shell-extensions.gcampax.github.com"
];
enabled-extensions = [
"appindicatorsupport@rgcjonas.gmail.com"
"caffeine@patapon.info"
"dash-to-dock@micxgx.gmail.com"
"gsconnect@andyholmes.github.io"
"Vitals@CoreCoding.com"
"sp-tray@sp-tray.esenliyim.github.com"
];
favorite-apps = [
"com.mitchellh.ghostty.desktop"
"vivaldi-stable.desktop"
"obsidian.desktop"
"code.desktop"
"vesktop.desktop"
];
2024-06-20 08:59:56 -05:00
};
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "list-view";
};
"org/gnome/nautilus/icon-view" = {
default-zoom-level = "small";
};
2024-06-21 12:55:52 -05:00
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
"org/gnome/desktop/peripherals/touchpad" = {
tap-to-click = false;
};
2024-06-21 14:15:05 -05:00
"org/gnome/desktop/interface" = {
clock-format = "12h";
2024-06-21 19:32:01 -05:00
show-battery-percentage = true;
2024-06-21 14:15:05 -05:00
};
"org/gnome/settings-daemon/plugins/power" = {
ambient-enabled = false;
};
2024-06-20 08:59:56 -05:00
};
};
}