nix: replace greetd with SDDM
This commit is contained in:
parent
eb4c9119f3
commit
f9da2f47e5
1 changed files with 14 additions and 11 deletions
|
|
@ -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";
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue