From 49f9b1504ae8261806b2c06e204847c5979e8fd7 Mon Sep 17 00:00:00 2001 From: notohh Date: Mon, 22 Jan 2024 03:48:37 -0500 Subject: [PATCH] wayland: add greetd --- home/wayland/default.nix | 2 +- home/wayland/greetd.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 home/wayland/greetd.nix diff --git a/home/wayland/default.nix b/home/wayland/default.nix index 4f2c3c1..fae5c12 100644 --- a/home/wayland/default.nix +++ b/home/wayland/default.nix @@ -15,7 +15,7 @@ }; in { imports = [ - ../../modules/greetd.nix + ./greetd.nix ]; environment.systemPackages = with pkgs; [ diff --git a/home/wayland/greetd.nix b/home/wayland/greetd.nix new file mode 100644 index 0000000..3dd2144 --- /dev/null +++ b/home/wayland/greetd.nix @@ -0,0 +1,12 @@ +_: { + services.greetd = { + enable = true; + settings = rec { + initial_session = { + command = "Hyprland"; + user = "notoh"; + }; + default_session = initial_session; + }; + }; +}