global/home-manager: move xsession shared module to wm

This commit is contained in:
Infinidoge 2023-09-08 22:00:17 -04:00
parent e50310eb80
commit 7d6854bb5f
2 changed files with 4 additions and 3 deletions

View file

@ -28,9 +28,6 @@
createDirectories = true;
};
};
(lib.mkIf config.services.xserver.enable {
xsession.enable = true;
})
}
(lib.mkIf config.info.graphical {
xdg.systemDirs.data = [

View file

@ -22,6 +22,10 @@ in
displayManager.lightdm.enable = true;
};
home-manager.sharedModules = [{
xsession.enable = true;
}];
environment.systemPackages = with pkgs; flatten [
(with xorg; [
xwininfo