diff --git a/generated/all-maintainers.nix b/generated/all-maintainers.nix index 9b097610..eedf152d 100644 --- a/generated/all-maintainers.nix +++ b/generated/all-maintainers.nix @@ -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"; diff --git a/modules/gdu/hm.nix b/modules/gdu/hm.nix new file mode 100644 index 00000000..48910178 --- /dev/null +++ b/modules/gdu/hm.nix @@ -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}" + ''; + }; + }; +} diff --git a/modules/gdu/meta.nix b/modules/gdu/meta.nix new file mode 100644 index 00000000..0b9140b7 --- /dev/null +++ b/modules/gdu/meta.nix @@ -0,0 +1,6 @@ +{ lib, ... }: +{ + name = "gdu"; + homepage = "https://github.com/dundee/gdu"; + maintainers = [ lib.maintainers.omega-800 ]; +} diff --git a/modules/gdu/testbeds/gdu.nix b/modules/gdu/testbeds/gdu.nix new file mode 100644 index 00000000..e1db9e66 --- /dev/null +++ b/modules/gdu/testbeds/gdu.nix @@ -0,0 +1,11 @@ +{ lib, pkgs, ... }: +{ + stylix.testbed.ui.command = { + text = "gdu"; + useTerminal = true; + }; + + home-manager.sharedModules = lib.singleton { + home.packages = [ pkgs.gdu ]; + }; +} diff --git a/stylix/maintainers.nix b/stylix/maintainers.nix index 67d0ac70..aa4fa235 100644 --- a/stylix/maintainers.nix +++ b/stylix/maintainers.nix @@ -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";