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

49 lines
2 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
{ lib, pkgs, osConfig, ... }:
with lib.hm.gvariant; {
config = lib.mkIf osConfig.mySystem.de.gnome.enable {
# add user packages
home.packages = with pkgs; [
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" = {
workspace-names = [ "sys" "talk" "web" "edit" "run" ];
};
"org/gnome/shell" = {
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" ];
2024-07-29 22:27:16 -05:00
favorite-apps = [ "com.mitchellh.ghostty.desktop" "vivaldi-stable.desktop" "obsidian.desktop" "code.desktop" "discord.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
};
2024-06-20 08:59:56 -05:00
};
};
}