Switch from SDDM to LightDM and fix Wireguard

This commit is contained in:
2020-05-11 06:39:22 +02:00
parent 4bcfb6a660
commit 3147727b77
3 changed files with 22 additions and 20 deletions

View File

@@ -5,7 +5,7 @@
services.xserver.enable = true;
services.xserver.displayManager = {
defaultSession = "sway";
sddm = {
lightdm = {
enable = true;
autoLogin = {
enable = true;
@@ -34,8 +34,6 @@
kitty
];
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland
@@ -48,21 +46,21 @@
programs.light.enable = true;
# Blue light filter
location = {
latitude = 35.89;
longitude = -5.32;
provider = "manual";
};
services.redshift = {
package = pkgs.redshift-wlr;
enable = true;
temperature = {
day = 6500;
night = 5000;
night = 5300;
};
};
location = {
latitude = 35.89;
longitude = -5.32;
provider = "manual";
};
# Bar
programs.waybar.enable = true;