diff --git a/modules/nixos/xorg/xfce/default.nix b/modules/nixos/xorg/xfce/default.nix new file mode 100644 index 0000000..c2a5e6b --- /dev/null +++ b/modules/nixos/xorg/xfce/default.nix @@ -0,0 +1,19 @@ +{ + lib, + config, + ... +}: let + cfg = config.marleyos.xorg.xfce; +in { + options.marleyos.xorg.xfce.enable = lib.mkEnableOption "xfce"; + + config = lib.mkIf cfg.enable { + services.xserver = { + enable = true; + + desktopManager.xfce = { + enable = true; + }; + }; + }; +} diff --git a/systems/x86_64-linux/nyx/default.nix b/systems/x86_64-linux/nyx/default.nix index a264889..381bc7c 100644 --- a/systems/x86_64-linux/nyx/default.nix +++ b/systems/x86_64-linux/nyx/default.nix @@ -12,6 +12,7 @@ in { hasNvidia = true; mounts.babeshare = enabled; wayland.hyprland = enabled; + xorg.xfce = enabled; appearance = { base = enabled;