summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-04-29 15:00:06 +0200
committerAlan Pearce2018-04-29 15:00:06 +0200
commit68f44953449af2ad3565426e1716757fe7afc04b (patch)
tree480415fea1b9dc95715b3125f8780c5d94079ac9
parentb7bb57f5971f1cf4ccdee558fd35c7f042514682 (diff)
downloadnixos-configuration-68f44953449af2ad3565426e1716757fe7afc04b.tar.lz
nixos-configuration-68f44953449af2ad3565426e1716757fe7afc04b.tar.zst
nixos-configuration-68f44953449af2ad3565426e1716757fe7afc04b.zip
WM: Set default login user for slim
-rw-r--r--modules/programs/window-manager.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix
index 81470bf..dfa2184 100644
--- a/modules/programs/window-manager.nix
+++ b/modules/programs/window-manager.nix
@@ -4,8 +4,9 @@
    desktopManager.xterm.enable = false;
 
    displayManager = {
-     lightdm = {
-       enable = false;
+     slim = {
+       enable = true;
+       defaultUser = "alan";
      };
      sessionCommands = ''
        ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &