2022-11-19 20:00:54 +01:00
|
|
|
{ config, lib, ... }:
|
2022-11-11 17:07:24 +01:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.lightdm;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.lightdm = {
|
|
|
|
enable = mkEnableOption "lightdm";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
displayManager = {
|
|
|
|
defaultSession = "none+i3";
|
|
|
|
lightdm = {
|
|
|
|
enable = true;
|
2023-10-05 14:57:57 +02:00
|
|
|
background = ../../wallpapers/river-3840.png;
|
2022-11-22 19:58:44 +01:00
|
|
|
greeters.pantheon = {
|
2022-11-11 17:07:24 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|