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

8
flake.lock generated
View file

@ -366,11 +366,11 @@
"tt-discord": {
"flake": false,
"locked": {
"lastModified": 1775215536,
"narHash": "sha256-tgavgso+bdyG9VRWR4D0qLqD7zsuaoLXh1CAL5SDgVg=",
"lastModified": 1788292449,
"narHash": "sha256-YiNFAa/w72k/b/aqf+TFHvqNvIx/MsXEaKJVzg92DhQ=",
"ref": "refs/heads/main",
"rev": "b6d440de0ce02178b2e9670e610a18fa4786ebc6",
"revCount": 5,
"rev": "dcf9db7194b5281a67f5af1452f9d8eb0ca78811",
"revCount": 6,
"type": "git",
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
},

View file

@ -45,6 +45,7 @@
let
boilerplate = [
./modules/theming
mango.nixosModules.mango
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;

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 = {