Skip to content

Commit

Permalink
Fix vt font reseting back to bold default
Browse files Browse the repository at this point in the history
Load amd driver at initrd phase
  • Loading branch information
Sigmanificient committed Dec 22, 2023
1 parent 0d2006f commit b1ab624
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# ~/.bashrc
#

if [ $TERM = "linux" ]; then
setfont ter-116n
fi

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

Expand Down
7 changes: 5 additions & 2 deletions system/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

boot = {
consoleLogLevel = 0;
initrd.verbose = false;
initrd = {
verbose = false;
kernelModules = [ "amdgpu" ];
};

loader = {
efi.canTouchEfiVariables = true;
Expand Down Expand Up @@ -55,7 +58,7 @@
console = {
earlySetup = true;
useXkbConfig = true;
font = "Lat2-Terminus16";
font = "${pkgs.terminus_font}/share/consolefonts/ter-116n.psf.gz";
packages = with pkgs; [ terminus_font ];
colors = [
"11111E" # Black
Expand Down

0 comments on commit b1ab624

Please sign in to comment.