fixed X server

nixos
Moritz Böhme 2021-09-10 09:14:03 +02:00
parent 2dc6539002
commit fcf290c9d3
2 changed files with 28 additions and 0 deletions

View File

@ -25,6 +25,14 @@
kernelPackages = pkgs.linuxPackages_zen;
};
services = {
xserver = {
libinput.enable = true;
};
printing.enable = true;
};
# NETWORKING
networking = {
hostName = "nixos-laptop";

View File

@ -3,6 +3,7 @@
let
base = {
xsession.windowManager.bspwm.enable = true;
xdg = {
enable = true;
configFile = {
@ -22,5 +23,24 @@ let
};
in
{
# SERVICES
services = {
xserver = {
enable = true;
layout = "de";
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
};
};
home-manager.users.moritz = {...}: (base);
}