Mango: Difference between revisions
Appearance
Use channel tarball instead of github flakeref |
No edit summary |
||
| Line 2: | Line 2: | ||
== Installation == | == Installation == | ||
If you don't want to configure mango using nix, you can just add mango to your systemPackages: | |||
{{file|3=environment.systemPackages = with pkgs; [ | |||
mango | |||
]; | |||
|name=/etc/nixos/configuration.nix|lang=nix}} | |||
If you would like to configure mango declaratively using nix and home-manager, you should install the [https://mangowm.github.io/docs/installation#nixos official flake]. Add it to your inputs: | |||
{{file|3=inputs = { | |||
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst"; | |||
mango = { | |||
url = "github:mangowm/mango"; | |||
inputs.nixpkgs.follows = "nixpkgs"; | |||
}; | }; | ||
}|name=flake.nix|lang=nix}} | };|name=flake.nix|lang=nix}} | ||
== Configuration == | == Configuration == | ||
| Line 31: | Line 26: | ||
inputs.mango.hmModules.mango | inputs.mango.hmModules.mango | ||
]; | ]; | ||
wayland.windowManager.mango= { | wayland.windowManager.mango= { | ||
enable = true; | enable = true; | ||
Latest revision as of 18:26, 5 November 2026
Mango is a lightweight, modern Wayland compositor based on dwl. Mango provides features like animations, IPC, different layouts and visual effects.
Installation
If you don't want to configure mango using nix, you can just add mango to your systemPackages:
❄︎ /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
mango
];
If you would like to configure mango declaratively using nix and home-manager, you should install the official flake. Add it to your inputs:
❄︎ flake.nix
inputs = {
nixpkgs.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst";
mango = {
url = "github:mangowm/mango";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Configuration
After adding the new input, mango can be configured using Home Manager:
❄︎ home.nix
{ config, pkgs, inputs, ... }:
{
imports = [
inputs.mango.hmModules.mango
];
wayland.windowManager.mango= {
enable = true;
settings = {
animations = 0;
bordercolor="0x595959aa";
bind = [
"SUPER,r,reload_config"
"SUPER,space,spawn,fuzzel"
"SUPER,Return,spawn,foot"
];
};
};
}
Extra documentation can be found on the official website.