fixed X server

This commit is contained in:
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; kernelPackages = pkgs.linuxPackages_zen;
}; };
services = {
xserver = {
libinput.enable = true;
};
printing.enable = true;
};
# NETWORKING # NETWORKING
networking = { networking = {
hostName = "nixos-laptop"; hostName = "nixos-laptop";

View file

@ -3,6 +3,7 @@
let let
base = { base = {
xsession.windowManager.bspwm.enable = true; xsession.windowManager.bspwm.enable = true;
xdg = { xdg = {
enable = true; enable = true;
configFile = { configFile = {
@ -22,5 +23,24 @@ let
}; };
in 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); home-manager.users.moritz = {...}: (base);
} }