Link: https://github.com/nix-community/stylix/pull/1995

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
Georgiy Shevoroshkin 2025-11-21 19:13:27 +01:00 committed by GitHub
parent 8ca5c7fbab
commit b9b0501839
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 61 additions and 0 deletions

View file

@ -187,6 +187,12 @@
];
name = "Viktor Titov";
};
omega-800 = {
email = "gshevoroshkin@gmail.com";
github = "omega-800";
githubId = 50942480;
name = "Georgiy Shevoroshkin";
};
osipog = {
email = "osibluber@protonmail.com";
github = "osipog";

32
modules/gdu/hm.nix Normal file
View file

@ -0,0 +1,32 @@
{
mkTarget,
...
}:
mkTarget {
name = "go DiskUsage()";
humanName = "go DiskUsage()";
configElements =
{ colors }:
{
xdg.configFile."gdu/gdu.yaml" = {
enable = true;
text = with colors.withHashtag; ''
style:
selected-row:
text-color: "${base05}"
background-color: "${base00}"
result-row:
number-color: "${base06}"
directory-color: "${base02}"
footer:
text-color: "${base05}"
background-color: "${base00}"
number-color: "${base06}"
header:
text-color: "${base05}"
background-color: "${base00}"
'';
};
};
}

6
modules/gdu/meta.nix Normal file
View file

@ -0,0 +1,6 @@
{ lib, ... }:
{
name = "gdu";
homepage = "https://github.com/dundee/gdu";
maintainers = [ lib.maintainers.omega-800 ];
}

View file

@ -0,0 +1,11 @@
{ lib, pkgs, ... }:
{
stylix.testbed.ui.command = {
text = "gdu";
useTerminal = true;
};
home-manager.sharedModules = lib.singleton {
home.packages = [ pkgs.gdu ];
};
}

View file

@ -53,6 +53,12 @@
github = "michaelgoldenn";
githubId = 95949544;
};
omega-800 = {
email = "gshevoroshkin@gmail.com";
name = "Georgiy Shevoroshkin";
github = "omega-800";
githubId = 50942480;
};
osipog = {
email = "osibluber@protonmail.com";
name = "Osi Bluber";