fixed X server
This commit is contained in:
parent
2dc6539002
commit
fcf290c9d3
2 changed files with 28 additions and 0 deletions
|
@ -25,6 +25,14 @@
|
|||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
};
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
libinput.enable = true;
|
||||
};
|
||||
printing.enable = true;
|
||||
};
|
||||
|
||||
|
||||
# NETWORKING
|
||||
networking = {
|
||||
hostName = "nixos-laptop";
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue