forked from nico/dots
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, ... }:
|
||||
|
||||
{
|
||||
# display manager
|
||||
services.greetd = {
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
settings = {
|
||||
initial_session = {
|
||||
command = "uwsm start default";
|
||||
user = "nico";
|
||||
};
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greet-align left";
|
||||
};
|
||||
};
|
||||
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";
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue