From 1ff39bc2cff34cb4aef22785d0d70bbc90efa3f5 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 14 Mar 2024 16:02:18 -0300 Subject: first commit --- exwm.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 exwm.nix (limited to 'exwm.nix') diff --git a/exwm.nix b/exwm.nix new file mode 100644 index 0000000..df8e306 --- /dev/null +++ b/exwm.nix @@ -0,0 +1,25 @@ +{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"; + }; + }; + }; +} -- cgit v1.2.3