summaryrefslogblamecommitdiff
path: root/exwm.nix
blob: df8e3068f395106cd0749b2249cc7484643c634c (plain) (tree)
























                                                                               
{pkgs, inputs, system, ...}:
{
  services.xserver = {
    enable = true;
    updateDbusEnvironment = true;
    windowManager.session = pkgs.lib.singleton {
      name = "exwm";
      start = ''
        dbus-launch ${inputs.emacs.packages.x86_64-linux.default}/bin/emacs -mm
      '';
    };
    desktopManager = {
      default = "none";
    };
    displayManager = {
      lightdm = {
        enable = true;
      };
      autoLogin = {
        enable = true;
        user = "leonardo";
      };
    };
  };
}