No description
  • Rust 94.3%
  • Nix 5.7%
Find a file
2026-06-23 22:55:12 +02:00
nix (feat): add wifi stylix support 2026-06-23 21:42:57 +02:00
src (fix): keep device list order stable 2026-06-23 22:55:12 +02:00
.gitignore Add base 2026-06-23 11:49:53 +02:00
AGENTS.md (fix): keep device list order stable 2026-06-23 22:55:12 +02:00
Cargo.lock Add base 2026-06-23 11:49:53 +02:00
Cargo.toml Add base 2026-06-23 11:49:53 +02:00
flake.lock Add base 2026-06-23 11:49:53 +02:00
flake.nix (feat): add wifi stylix support 2026-06-23 21:42:57 +02:00
README.md (feat): add wifi stylix support 2026-06-23 21:42:57 +02:00

nmtui

A Rust NetworkManager TUI built with ratatui and nmcli.

NixOS Module

Add the flake input and import the module:

{
  inputs.nmtui.url = "git+ssh://git.alois.foo/me/nmtui";

  outputs = { self, nixpkgs, nmtui, stylix, ... }: {
    nixosConfigurations.host = nixpkgs.lib.nixosSystem {
      modules = [
        stylix.nixosModules.stylix
        nmtui.nixosModules.default
        {
          programs.nmtui.enable = true;
        }
      ];
    };
  };
}

With Stylix enabled, the module automatically writes the active Base16 palette and launches nmtui with NMTUI_BASE16 set.

{
  stylix.enable = true;
  stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";

  programs.nmtui = {
    enable = true;
    stylix.enable = true;
  };
}

Then rebuild and run:

sudo nixos-rebuild switch
nmtui

Manual Theme

You can also pass a Base16 file directly:

nmtui --base16 ./scheme.yaml