nixos/mango: rename from mangowc
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+10
-6
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user