diff options
Diffstat (limited to 'exwm.nix')
-rw-r--r-- | exwm.nix | 25 |
1 files changed, 25 insertions, 0 deletions
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"; + }; + }; + }; +} |