diff --git a/modules/greetd.nix b/modules/greetd.nix deleted file mode 100644 index 1c1063d6..00000000 --- a/modules/greetd.nix +++ /dev/null @@ -1,20 +0,0 @@ -{ pkgs, ... }: - -{ - services.greetd = { - enable = true; - restart = false; - - settings = { - default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; - user = "greeter"; - }; - - initial_session = { - command = "${pkgs.hyprland}/bin/Hyprland"; - user = "user"; - }; - }; - }; -} diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 3e2118e0..ae13bdf6 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -36,4 +36,21 @@ environment.systemPackages = with pkgs; [ pulseaudio ]; + + services.greetd = { + enable = true; + restart = false; + + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; + user = "greeter"; + }; + + initial_session = { + command = "${pkgs.hyprland}/bin/Hyprland"; + user = "user"; + }; + }; + }; }