From 40e68ae58e4c966a693ab42afa8da7717de6a5e2 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Thu, 11 Jul 2024 23:01:17 +0900 Subject: [PATCH] Switch to gdm --- hosts/default/configuration.nix | 5 ++++- modules/home-manager/ricing/hyprland/default.nix | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index d9127bf..80035ec 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -71,7 +71,10 @@ LC_TIME = "en_US.UTF-8"; }; - services.xserver.displayManager.lightdm.enable = true; + services.xserver.displayManager.gdm = { + enable = true; + wayland = true; + }; programs.zsh.enable = true; diff --git a/modules/home-manager/ricing/hyprland/default.nix b/modules/home-manager/ricing/hyprland/default.nix index 99415cb..fb4eedf 100644 --- a/modules/home-manager/ricing/hyprland/default.nix +++ b/modules/home-manager/ricing/hyprland/default.nix @@ -3,5 +3,18 @@ { wayland.windowManager.hyprland = { enable = true; + + settings = { + monitor = [ + "eDP-1, preferred, auto-right, 1" + "HDMI-A-2, preferred, auto-left, 1" + ]; + + "$mod" = "SUPER"; + bind = [ + "$mod, F, exec, firefox" + "$mod, T, exec, kitty" + ]; + }; }; } \ No newline at end of file