nixos-config/modules/lightdm/default.nix

28 lines
516 B
Nix
Raw Normal View History

{ 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;
background = ../../home-manager/modules/i3/wallpapers/river-3840.png;
greeters.pantheon = {
2022-11-11 17:07:24 +01:00
enable = true;
};
};
};
};
};
}