Update hyprland config (gestures and other stuff)

This commit is contained in:
Pedro Rey Anca 2025-12-05 17:56:38 +01:00
parent 28cc7d2d25
commit 18cc25b3b8
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
3 changed files with 298 additions and 300 deletions

View file

@ -1,10 +1,10 @@
{
pkgs,
lib,
config,
...
}: {
imports = [./regreet.nix];
}:
{
imports = [ ./regreet.nix ];
options = {
programs.hyprland.autoLogin.username = lib.mkOption {
@ -21,19 +21,10 @@
withUWSM = true;
};
xdg.portal = {
enable = true;
wlr.enable = true;
xdgOpenUsePortal = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
};
services.greetd.settings.initial_session = let
username = config.programs.hyprland.autoLogin.username;
in
services.greetd.settings.initial_session =
let
username = config.programs.hyprland.autoLogin.username;
in
lib.mkIf (!isNull username) {
command = "uwsm start hyprland-uwsm.desktop";
user = username;