nixos/lumina: use xsession provided
This commit is contained in:
parent
ae59996dd9
commit
f78e757cf3
@ -23,12 +23,9 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.xserver.desktopManager.session = singleton {
|
services.xserver.displayManager.sessionPackages = [
|
||||||
name = "lumina";
|
pkgs.lumina.lumina
|
||||||
start = ''
|
];
|
||||||
exec ${pkgs.lumina.lumina}/bin/start-lumina-desktop
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
pkgs.lumina.preRequisitePackages ++
|
pkgs.lumina.preRequisitePackages ++
|
||||||
|
@ -79,6 +79,8 @@ mkDerivation rec {
|
|||||||
"LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease"
|
"LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.providedSessions = [ "Lumina-DE" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A lightweight, portable desktop environment";
|
description = "A lightweight, portable desktop environment";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user