diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 0da2ba935bcc..753c7db34344 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -84,7 +84,7 @@ - [PdfDing](https://www.pdfding.com/), manage, view and edit your PDFs seamlessly on all your devices wherever you are. Available as [services.pdfding](#opt-services.pdfding.enable). -- [mangowc](https://github.com/DreamMaoMao/mangowc), a lightweight and feature-rich Wayland compositor based on dwl. Available as [programs.mangowc](#opt-programs.mangowc.enable). +- [mangowc](https://github.com/DreamMaoMao/mangowc), a lightweight and feature-rich Wayland compositor based on dwl. Available as [programs.mangowc](#opt-programs.mango.enable). - [reaction](https://reaction.ppom.me/), a daemon that scans program outputs for repeated patterns, and takes action. A common usage is to scan ssh and webserver logs, and to ban hosts that cause multiple authentication errors. A modern alternative to fail2ban. Available as [services.reaction](#opt-services.reaction.enable). diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 5c360229753f..cec2bc3f7b27 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -352,7 +352,7 @@ ./programs/wayland/hyprland.nix ./programs/wayland/hyprlock.nix ./programs/wayland/labwc.nix - ./programs/wayland/mangowc.nix + ./programs/wayland/mango.nix ./programs/wayland/miracle-wm.nix ./programs/wayland/niri.nix ./programs/wayland/river.nix diff --git a/nixos/modules/programs/wayland/mangowc.nix b/nixos/modules/programs/wayland/mango.nix similarity index 68% rename from nixos/modules/programs/wayland/mangowc.nix rename to nixos/modules/programs/wayland/mango.nix index 18744f0e8b4d..32066a84d703 100644 --- a/nixos/modules/programs/wayland/mangowc.nix +++ b/nixos/modules/programs/wayland/mango.nix @@ -6,18 +6,22 @@ }: let - cfg = config.programs.mangowc; + cfg = config.programs.mango; in { - options.programs.mangowc = { - enable = lib.mkEnableOption "MangoWC, a Wayland compositor based on dwl and scenefx"; + options.programs.mango = { + enable = lib.mkEnableOption "Mango, a Wayland compositor based on dwl and scenefx"; - package = lib.mkPackageOption pkgs "mangowc" { - default = [ "mangowc" ]; - example = "pkgs.mangowc.override { enableXWayland = false; }"; + package = lib.mkPackageOption pkgs "mango" { + default = [ "mango" ]; + example = "pkgs.mango.override { enableXWayland = false; }"; }; }; + imports = [ + (lib.mkRenamedOptionModule [ "programs" "mangowc" ] [ "programs" "mango" ]) + ]; + config = lib.mkIf cfg.enable { environment.systemPackages = [ cfg.package ];