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