feat: wayland
This commit is contained in:
parent
badd1aa7ad
commit
230e2d0e3a
3 changed files with 7 additions and 6 deletions
|
@ -18,7 +18,9 @@ in {
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Graphical Desktop - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# Graphical Desktop - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
(lib.optionalAttrs cfg.desktop {})
|
(lib.optionalAttrs cfg.desktop {
|
||||||
|
wayland = enabled;
|
||||||
|
})
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
|
|
||||||
./xorg.nix
|
./xorg.nix
|
||||||
|
./wayland.nix
|
||||||
|
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./qt.nix
|
./qt.nix
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
cfg = config.marleyos.wayland;
|
|
||||||
in {
|
|
||||||
options.marleyos.wayland.enable = lib.mkEnableOption "wayland";
|
options.marleyos.wayland.enable = lib.mkEnableOption "wayland";
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf config.marleyos.wayland.enable {
|
||||||
# Fix the "tray.target not found" error.
|
# Fix the "tray.target not found" error.
|
||||||
systemd.user.targets.tray = lib.mkIf (!config.xsession.enable) {
|
systemd.user.targets.tray = lib.mkIf (!config.xsession.enable) {
|
||||||
Unit = {
|
Unit = {
|
Loading…
Reference in a new issue