nix: replace greetd with SDDM

This commit is contained in:
Nico 2025-05-03 16:15:59 +10:00
parent eb4c9119f3
commit f9da2f47e5

View file

@ -1,17 +1,20 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
# display manager services.displayManager.sddm = {
services.greetd = {
enable = true; enable = true;
settings = { wayland.enable = true;
initial_session = { theme = "where_is_my_sddm_theme_qt5";
command = "uwsm start default";
user = "nico";
};
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greet-align left";
};
};
}; };
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";
};
})
];
} }