config/users/pbsds/home/profiles/gnome/default.nix

123 lines
3.9 KiB
Nix
Raw Normal View History

2023-03-11 00:30:24 +01:00
# Handwritten!
2023-06-19 03:35:47 +02:00
{ config, lib, pkgs, ... }:
2023-03-11 00:30:24 +01:00
{
home.file.".local/opt/open-microsoft-url-files.py".source = ../../files/opt/open-microsoft-url-files.py;
home.file.".local/opt/python-interactive-imports.py".source = ../../files/opt/python-interactive-imports.py;
home.file.".local/opt/sympy-interactive-imports.py".source = ../../files/opt/sympy-interactive-imports.py;
imports = [
./dconf-gnome-bindings.nix
./dconf-gnome-extensions.nix
./dconf-gnome-theme.nix
];
home.packages = with pkgs; [
gnome.gnome-tweaks
pkgs.vimix-gtk-themes # shell theme
2023-12-10 09:47:02 +01:00
#gnomeExtensions.big-avatar
2023-03-11 00:30:24 +01:00
gnomeExtensions.bluetooth-quick-connect
gnomeExtensions.gtile
gnomeExtensions.just-perfection
gnomeExtensions.keep-awake
gnomeExtensions.middle-click-to-close-in-overview
2023-06-13 01:04:58 +02:00
gnomeExtensions.vertical-workspaces
#gnomeExtensions.vertical-overview # RIP
2023-03-11 00:30:24 +01:00
gnomeExtensions.appindicator
gnomeExtensions.removable-drive-menu
2023-03-11 15:59:56 +01:00
gnomeExtensions.always-show-titles-in-overview
2023-03-11 00:30:24 +01:00
/* TODO:
gnomeExtensions.night-light-slider
gnomeExtensions.tray-icons-reloaded
gnomeExtensions.removable-drive-menu
gnomeExtensions.battery-indicator-upower
gnomeExtensions.workspace-indicator-2
gnomeExtensions.forge
*/
];
#dump "org/gnome/settings-daemon/plugins/power"
2023-06-19 02:45:50 +02:00
dconf.settings = with lib.hm.gvariant; {
# extensions:
2023-03-11 00:30:24 +01:00
"org/gnome/shell" = {
disable-user-extensions = false;
2023-06-23 21:45:16 +02:00
# dconf dump /org/gnome/shell/ | grep ^enabled-extensions= | grep -E '\[.*\]' -o | sd ', ' '\n,'
2023-03-11 00:30:24 +01:00
enabled-extensions = [
"bluetooth-quick-connect@bjarosze.gmail.com"
"gTile@vibou"
"just-perfection-desktop@just-perfection"
"KeepAwake@jepfa.de"
"middleclickclose@paolo.tranquilli.gmail.com"
"user-theme@gnome-shell-extensions.gcampax.github.com"
2023-06-13 01:04:58 +02:00
"vertical-workspaces@G-dH.github.com"
#"vertical-overview@RensAlthuis.github.com"
2023-03-11 00:30:24 +01:00
"appindicatorsupport@rgcjonas.gmail.com"
"drive-menu@gnome-shell-extensions.gcampax.github.com"
2023-03-11 15:59:56 +01:00
"Always-Show-Titles-In-Overview@gmail.com"
2023-03-11 00:30:24 +01:00
];
};
# wallpaper
"org/gnome/desktop/background" = {
color-shading-type = "solid";
picture-options = "zoom";
picture-uri = "file://${../../files/wallpaper.jpg}";
picture-uri-dark = "file://${../../files/wallpaper.jpg}";
};
"org/gnome/desktop/screensaver" = {
idle-activation-enabled = false;
picture-uri = "file://${../../files/screensaver.jpg}";
};
2023-06-19 02:45:50 +02:00
# theme
2023-03-11 00:30:24 +01:00
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
enable-hot-corners = false;
clock-show-weekday = true;
};
#"org/gnome/desktop/wm/preferences" = {
# button-layout = ":minimize,close";
#};
2023-06-19 02:45:50 +02:00
# behaviour
2023-03-11 00:30:24 +01:00
"org/gnome/desktop/peripherals/touchpad" = {
disable-while-typing = false;
natural-scroll = false;
two-finger-scrolling-enabled = true;
};
"org/gnome/nautilus/preferences" = {
confirm-trash = true;
executable-text-activation = "display";
show-create-link = true;
sort-directories-first = true;
#recursive-search = "never";
2023-06-18 23:36:32 +02:00
show-image-thumbnails = "always";
show-directory-item-counts = "always";
};
"org/gtk/gtk4/settings/file-chooser" = {
sort-directories-first = true;
};
"org/gtk/settings/file-chooser" = {
sort-directories-first = true;
2023-03-11 00:30:24 +01:00
};
2023-06-19 02:45:50 +02:00
"org/gnome/settings-daemon/plugins/color" = {
night-light-enabled = true;
night-light-schedule-automatic = false;
night-light-schedule-from = 23.5;
night-light-schedule-to = 5.0;
night-light-temperature = mkUint32 4150;
};
2024-02-25 15:45:35 +01:00
#dump "org/gnome/settings-daemon/plugins/power"
2023-06-22 19:19:55 +02:00
#"org/gnome/desktop/session" = {
# idle-delay = mkUint32 (5 * 60);
#};
#"org/gnome/settings-daemon/plugins/power" {
# #sleep-inactive-ac-type = "suspend";
# sleep-inactive-ac-type = "nothing";
#};
2023-03-11 00:30:24 +01:00
};
}