greeter config

This commit is contained in:
2026-01-10 18:21:38 +09:00
parent 69aefb5297
commit 0762ccc9bc
6 changed files with 43 additions and 11 deletions
+27
View File
@@ -1,11 +1,34 @@
{ config, pkgs, ... }:
let
rosePineHyprcursor = pkgs.callPackage ../../home-manager/hyprland/rose-pine-hyprcursor.nix { };
hyprGreetConf = pkgs.writeText "hyprland-greetd.conf" ''
monitor = DP-1, 5120x2880@60, 0x0, 2
monitor = DP-2, disable
monitor = DP-3, disable
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = HYPRCURSOR_SIZE,24
env = XCURSOR_SIZE,24
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland"
general {
border_size = 0
}
animations {
enabled = false
}
misc {
force_default_wallpaper = false
disable_hyprland_logo = true
disable_splash_rendering = true
}
exec-once = ${config.programs.regreet.package or pkgs.regreet}/bin/regreet; hyprctl dispatch exit
'';
in
@@ -16,6 +39,10 @@ in
user = "greeter";
};
environment.systemPackages = [
rosePineHyprcursor
];
programs.regreet = {
# greetd を Hyprland で動かす
enable = true;