add mangowm + config

This commit is contained in:
lucy 2026-09-02 00:44:40 +02:00
commit 3c225448e8
5 changed files with 16 additions and 11 deletions

View file

@ -21,6 +21,7 @@
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
services.displayManager.gdm.enable = true;
programs.mango.enable = true;
programs.niri = {
enable = true;
};

View file

@ -1,9 +1,10 @@
{
pkgs,
lib,
inputs,
config,
...
}:
let
c = config.scheme;
in
{
home.file.screenshot = {
enable = true;
@ -14,9 +15,13 @@
wayland.windowManager.mango = {
enable = true;
settings = {
rootcolor = "0x${c.base00}ff";
bordercolor = "0x${c.base02}ff";
focuscolor = "0x${c.base0D}ff";
dropcolor = "0x${c.base09}ff";
cursor_theme = "macOS";
cursor_size = 24;
border_radius = 16;
border_radius = 20;
animations = 1;
layer_animations = 0;
animation_type_open = "slide";

View file

@ -10,9 +10,7 @@
discord.enable = false;
enable = true;
vesktop.enable = true;
# tt-discord's templates/config.yaml uses the filetype/output keys, which
# base16.nix can't read; give it the extension directly so it skips that file.
quickCss = builtins.readFile (config.scheme);
quickCss = builtins.readFile (config.scheme inputs.tt-discord);
config = {
useQuickCss = true;
plugins = {