From 33b5e45327926a7ddfc42a838baad79338123b91 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:59 +1000 Subject: [PATCH] nix: replace sddm with greetd enables autologin display manager is ttygreet --- modules/linux/login.nix | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/modules/linux/login.nix b/modules/linux/login.nix index 4c662bd..69fdbac 100644 --- a/modules/linux/login.nix +++ b/modules/linux/login.nix @@ -1,20 +1,16 @@ { config, lib, pkgs, ... }: { - services.displayManager.sddm = { + services.greetd = { enable = true; - wayland.enable = true; - theme = "where_is_my_sddm_theme_qt5"; - }; - - environment.systemPackages = with pkgs; [ - (pkgs.where-is-my-sddm-theme.override { - variants = [ "qt5" ]; - themeConfig.General = { - background = pkgs.nixos-artwork.wallpapers.nineish-dark-gray.gnomeFilePath; - backgroundMode = "fill"; - cursorColor = "#ffffff"; + settings = { + initial_session = { + command = "${pkgs.hyprland}/bin/Hyprland"; + user = "nico"; }; - }) - ]; + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --asterisks --time --greeting 'nyaaa~~'"; + }; + }; + }; }