Skip to content

Commit

Permalink
demo: autologin through xserver
Browse files Browse the repository at this point in the history
also disable upower on virtualbox
Fixes #36348
  • Loading branch information
matthewbauer authored and Mic92 committed Mar 9, 2018
1 parent d308c7f commit 02a0fb8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/modules/installer/virtualbox-demo.nix
Expand Up @@ -19,4 +19,6 @@ with lib;
# Add some more video drivers to give X11 a shot at working in
# VMware and QEMU.
services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];

powerManagement.enable = false;
}
6 changes: 6 additions & 0 deletions nixos/modules/profiles/demo.nix
Expand Up @@ -10,4 +10,10 @@
password = "demo";
uid = 1000;
};

services.xserver.displayManager.sddm.autoLogin = {
enable = true;
relogin = true;
user = "demo";
};
}

0 comments on commit 02a0fb8

Please sign in to comment.