Update home.nix

This commit is contained in:
ediblerope 2025-12-04 12:41:17 +00:00 committed by GitHub
parent 8212853402
commit fc62e96d80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,16 +12,25 @@
]; ];
# --- GNOME/dconf Settings via Home Manager --- # --- GNOME/dconf Settings via Home Manager ---
# This section replaces the troublesome 'systemd.user.services.gnomeSettings' script! dconf.settings = {
dconf.settings = { # Interface / theme
# Interface / theme (Example from your script)
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
color-scheme = "prefer-dark"; color-scheme = "prefer-dark";
gtk-theme = "Adwaita-dark"; gtk-theme = "Adwaita-dark";
# accent-color is not directly exposed via dconf in this way
}; };
# Custom keybindings (Example from your script) # Window manager keybindings
"org/gnome/desktop/wm/keybindings" = {
close = ["<Super>q"];
toggle-fullscreen = ["<Super>f"];
};
# Shell keybindings
"org/gnome/shell/keybindings" = {
show-screenshot-ui = ["<Shift><Super>s"];
};
# Custom keybindings
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/settings-daemon/plugins/media-keys" = {
home = ["<Super>e"]; home = ["<Super>e"];
control-center = ["<Super>i"]; control-center = ["<Super>i"];
@ -36,13 +45,11 @@
binding = "<Super>t"; binding = "<Super>t";
}; };
# Mouse acceleration (Example from your script) # Mouse acceleration
"org/gnome/desktop/peripherals/mouse" = { "org/gnome/desktop/peripherals/mouse" = {
accel-profile = "flat"; accel-profile = "flat";
}; };
};
# You can add many more settings here, like wallpaper, etc.
};
# --- Aliases (Moved from system-wide common.nix) --- # --- Aliases (Moved from system-wide common.nix) ---
# These aliases are now defined for the user's shell (e.g., bash/zsh). # These aliases are now defined for the user's shell (e.g., bash/zsh).