get the sxmo service to boot to desktop
not sure how to actually launch anything with it >_<
This commit is contained in:
parent
d3a7bfda7f
commit
e24e76fd8f
|
@ -11,5 +11,6 @@ in
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
./plasma-mobile.nix
|
./plasma-mobile.nix
|
||||||
./sway
|
./sway
|
||||||
|
./sxmo.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,14 +36,51 @@ in
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
services.xserver.windowManager.session = [{
|
# sxmo internally uses doas instead of sudo
|
||||||
name = "sxmo";
|
security.doas.enable = true;
|
||||||
desktopNames = [ "sxmo" ];
|
security.doas.wheelNeedsPassword = false;
|
||||||
start = ''
|
|
||||||
${pkgs.sxmo-utils}/bin/sxmo_xinit.sh &
|
# services.xserver.windowManager.session = [{
|
||||||
waitPID=$!
|
# name = "sxmo";
|
||||||
'';
|
# desktopNames = [ "sxmo" ];
|
||||||
}];
|
# start = ''
|
||||||
|
# ${pkgs.sxmo-utils}/bin/sxmo_xinit.sh &
|
||||||
|
# waitPID=$!
|
||||||
|
# '';
|
||||||
|
# }];
|
||||||
|
# services.xserver.enable = true;
|
||||||
|
|
||||||
|
# services.greetd = {
|
||||||
|
# enable = true;
|
||||||
|
# settings = {
|
||||||
|
# default_session = {
|
||||||
|
# command = "${pkgs.sxmo-utils}/bin/sxmo_winit.sh";
|
||||||
|
# user = "colin";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
services.xserver.enable = true;
|
||||||
|
services.xserver.displayManager.lightdm.enable = true;
|
||||||
|
services.xserver.displayManager.lightdm.greeters.gtk.enable = true;
|
||||||
|
services.xserver.displayManager.lightdm.extraSeatDefaults = ''
|
||||||
|
user-session = swmo
|
||||||
|
'';
|
||||||
|
services.xserver.displayManager.sessionPackages = [ pkgs.sxmo-utils ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gojq
|
||||||
|
inotify-tools
|
||||||
|
libnotify
|
||||||
|
superd
|
||||||
|
sway
|
||||||
|
sxmo-utils
|
||||||
|
xdg-user-dirs
|
||||||
|
];
|
||||||
|
environment.sessionVariables.XDG_DATA_DIRS = [
|
||||||
|
# TODO: only need the share/sxmo directly linked
|
||||||
|
"${pkgs.sxmo-utils}/share"
|
||||||
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user