Skip to content

feat(console): add environment sessionVariables and custom TTY font/color configurations#127

Open
FixeQD wants to merge 3 commits into
finix-community:mainfrom
FixeQD:feat-console-env
Open

feat(console): add environment sessionVariables and custom TTY font/color configurations#127
FixeQD wants to merge 3 commits into
finix-community:mainfrom
FixeQD:feat-console-env

Conversation

@FixeQD

@FixeQD FixeQD commented Jul 7, 2026

Copy link
Copy Markdown

Ported standard NixOS options for global session variables and virtual console styling to finix.
It implements environment.sessionVariables via profile.d/session-vars.sh, adds support for loading custom virtual console fonts and TTY color palettes and includes an earlySetup option to load console fonts straight inside the initrd stage

Copilot AI review requested due to automatic review settings July 7, 2026 00:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ports NixOS-like configuration to finix for (1) globally exported session variables and (2) virtual console styling (fonts and 16-color palette), including an option to set the console font during initrd.

Changes:

  • Add environment.sessionVariables and generate /etc/profile.d/session-vars.sh to export them for login shells.
  • Extend hardware.console with console font, extra font/keymap packages, initrd early font setup, and optional TTY color palette configuration.
  • Add a finit console-setup task to apply font/colors during boot.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
modules/hardware/console.nix Adds console font/package/color options, initrd font support, and a finit task for applying console styling.
modules/environment/shells/default.nix Adds environment.sessionVariables and generates a /etc/profile.d/ script to export them in login shells.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread modules/hardware/console.nix
Comment thread modules/hardware/console.nix
Comment thread modules/environment/shells/default.nix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants