fix displayManager deprecation
This commit is contained in:
parent
54b5e8f785
commit
6d7dfe8ddd
|
|
@ -9,9 +9,8 @@
|
|||
./i18n.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
services.xserver = lib.mkIf config.desktop.enable {
|
||||
enable = true;
|
||||
config = lib.mkIf config.desktop.enable {
|
||||
services = {
|
||||
displayManager = {
|
||||
sddm.enable = true;
|
||||
autoLogin = {
|
||||
|
|
@ -20,24 +19,27 @@
|
|||
};
|
||||
defaultSession = "none+awesome";
|
||||
};
|
||||
windowManager.awesome = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
luaModules = with pkgs.luaPackages; [
|
||||
luarocks
|
||||
vicious
|
||||
];
|
||||
};
|
||||
libinput = {
|
||||
enable = true;
|
||||
|
||||
# disabling mouse acceleration
|
||||
mouse = {
|
||||
accelProfile = "flat";
|
||||
windowManager.awesome = {
|
||||
enable = true;
|
||||
luaModules = with pkgs.luaPackages; [
|
||||
luarocks
|
||||
vicious
|
||||
];
|
||||
};
|
||||
libinput = {
|
||||
enable = true;
|
||||
|
||||
# disabling touchpad acceleration
|
||||
touchpad = {
|
||||
accelProfile = "flat";
|
||||
# disabling mouse acceleration
|
||||
mouse = {
|
||||
accelProfile = "flat";
|
||||
};
|
||||
|
||||
# disabling touchpad acceleration
|
||||
touchpad = {
|
||||
accelProfile = "flat";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue