27 lines
492 B
Nix
27 lines
492 B
Nix
{ config, lib, ... }:
|
|
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;
|
|
background = ../../wallpapers/river-3840.png;
|
|
greeters.pantheon = {
|
|
enable = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|