From a7018d8acb55a4b62ecdd4c8518054e7cf556230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 28 Sep 2024 13:51:51 +0200 Subject: [PATCH] Add greetd --- system/default.nix | 11 ++++++----- system/greetd.nix | 12 ++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 system/greetd.nix diff --git a/system/default.nix b/system/default.nix index b42f7ed..269b554 100644 --- a/system/default.nix +++ b/system/default.nix @@ -1,12 +1,13 @@ { imports = [ - ./podman.nix ./fonts.nix ./fwupd.nix - ./users.nix - ./libvirt.nix - ./services.nix - ./security.nix ./git.nix + ./greetd.nix + ./libvirt.nix + ./podman.nix + ./security.nix + ./services.nix + ./users.nix ]; } diff --git a/system/greetd.nix b/system/greetd.nix new file mode 100644 index 0000000..54a845e --- /dev/null +++ b/system/greetd.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd \"dbus-run-session hyprland\""; + user = "greeter"; + }; + }; + }; +}