From fea45e90cf25136e6546629d7e2b005dd38233f8 Mon Sep 17 00:00:00 2001 From: bangae1 Date: Mon, 24 Nov 2025 21:29:06 +0900 Subject: [PATCH] update --- configuration.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/configuration.nix b/configuration.nix index 106d34d..4fd410a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -110,6 +110,47 @@ NIXOS_OZONE_WL = "1"; }; + environment.etc = { + "greetd/niri.kdl" = { + text = '' + hotkey-overlay { + skip-at-startup + } + + environment { + DMS_RUN_GREETER "1" + } + + gestures { + hot-corners { + off + } + } + + layout { + background-color "#000000" + } + ''; + + # The UNIX file mode bits + mode = "0644"; + }; + "greetd/config.toml" = { + text = '' + [terminal] + vt = 1 + + [default_session] + user = "greeter" + command = "dms-greeter --command niri -C /etc/greetd/niri.kdl" + ### Uncomment the below line to run the greeter on Hyprland + # command = "dms-greeter --command Hyprland" + ### Uncomment to run the greeter on sway + # command = "dms-greeter --command sway" + ''; + mode = "0644"; + }; + }; nix.settings.experimental-features = [ "nix-command" "flakes" ];