From b8179f958409eb61dfc92724348f5f677797ed25 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Wed, 29 Jan 2025 19:15:32 -0800 Subject: [PATCH] feat(nixos): Install Xfce --- modules/nixos/xorg/xfce/default.nix | 19 +++++++++++++++++++ systems/x86_64-linux/nyx/default.nix | 1 + 2 files changed, 20 insertions(+) create mode 100644 modules/nixos/xorg/xfce/default.nix 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;