add hyprland modules

This commit is contained in:
Yan Lin 2025-11-03 20:16:21 +01:00
parent b01dce80ef
commit 5288cbae69
4 changed files with 284 additions and 19 deletions

View file

@ -9,21 +9,13 @@
../home-default.nix
../../../modules/syncthing.nix
../../../modules/tex.nix
../../../modules/gnome/home.nix
../../../modules/hyprland/home.nix
../../../modules/firefox.nix
../../../modules/ghostty.nix
../../../modules/papis.nix
../../../modules/libreoffice.nix
];
# ThinkPad-specific GNOME dconf overrides
dconf.settings = {
"org/gnome/desktop/peripherals/mouse" = {
speed = 0.0; # Match libinput accelSpeed for TrackPoint
accel-profile = "flat"; # Match libinput accelProfile (no acceleration)
};
};
programs.yt-dlp-custom = {
enable = true;
downloadDir = "~/Downloads/web-video";

View file

@ -4,7 +4,7 @@
imports = [
./hardware-configuration.nix
../system-default.nix # Common NixOS system configuration
../../../modules/gnome/system.nix
../../../modules/hyprland/system.nix
../../../modules/wireguard.nix
../../../modules/login-display.nix
../../../modules/keyboard-toggle.nix
@ -97,15 +97,6 @@
];
};
# Prevent automatic suspend on AC power (GNOME power settings)
programs.dconf.profiles.user.databases = [{
settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
};
};
}];
# Touchpad configuration (host-specific overrides)
services.libinput.touchpad = {
disableWhileTyping = true;