global/home-manager: move xsession shared module to wm
This commit is contained in:
parent
e50310eb80
commit
7d6854bb5f
2 changed files with 4 additions and 3 deletions
|
@ -28,9 +28,6 @@
|
|||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
(lib.mkIf config.services.xserver.enable {
|
||||
xsession.enable = true;
|
||||
})
|
||||
}
|
||||
(lib.mkIf config.info.graphical {
|
||||
xdg.systemDirs.data = [
|
||||
|
|
|
@ -22,6 +22,10 @@ in
|
|||
displayManager.lightdm.enable = true;
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
xsession.enable = true;
|
||||
}];
|
||||
|
||||
environment.systemPackages = with pkgs; flatten [
|
||||
(with xorg; [
|
||||
xwininfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue