From 89210287bc146bcebba41a235b44e5ae759cf983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 31 Mar 2024 16:24:06 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20(aurum/services)=20enable=20tuigree?= =?UTF-8?q?td?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/aurum/services/default.nix | 5 +++++ hosts/aurum/services/greetd/default.nix | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 hosts/aurum/services/default.nix create mode 100644 hosts/aurum/services/greetd/default.nix diff --git a/hosts/aurum/services/default.nix b/hosts/aurum/services/default.nix new file mode 100644 index 0000000..6a6703d --- /dev/null +++ b/hosts/aurum/services/default.nix @@ -0,0 +1,5 @@ +{...}: { + imports = [ + ./greetd + ]; +} diff --git a/hosts/aurum/services/greetd/default.nix b/hosts/aurum/services/greetd/default.nix new file mode 100644 index 0000000..8867551 --- /dev/null +++ b/hosts/aurum/services/greetd/default.nix @@ -0,0 +1,18 @@ +{ + inputs, + pkgs, + ... +}: let + hyprland = inputs.hyprland.packages."${pkgs.system}".hyprland; +in { + services.greetd = { + enable = true; + + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${hyprland}/bin/Hyprland"; + user = "greeter"; + }; + }; + }; +}