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 - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
(lib.optionalAttrs cfg.desktop {})
|
||||
(lib.optionalAttrs cfg.desktop {
|
||||
wayland = enabled;
|
||||
})
|
||||
#
|
||||
#
|
||||
# Server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
./stylix.nix
|
||||
|
||||
./xorg.nix
|
||||
./wayland.nix
|
||||
|
||||
./gtk.nix
|
||||
./qt.nix
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.marleyos.wayland;
|
||||
in {
|
||||
}: {
|
||||
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.
|
||||
systemd.user.targets.tray = lib.mkIf (!config.xsession.enable) {
|
||||
Unit = {
|
Loading…
Reference in a new issue