From da1f5b9b5fabf3835f767c3d9278953483c9a639 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 6 May 2023 10:38:24 -0700 Subject: profiles/default: larger font on the console for all hosts Easier on my eyes. --- profiles/default.nix | 10 ++++++++++ profiles/server.nix | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/profiles/default.nix b/profiles/default.nix index 9cca61b..86fe4d8 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -24,6 +24,16 @@ time.timeZone = "America/Los_Angeles"; + # see https://www.man7.org/linux/man-pages/man5/loader.conf.5.html + boot.loader.systemd-boot.consoleMode = "max"; + + console = { + earlySetup = true; + font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz"; + packages = with pkgs; [ terminus_font ]; + keyMap = "us"; + }; + security.sudo.wheelNeedsPassword = false; security.polkit.enable = true; diff --git a/profiles/server.nix b/profiles/server.nix index c4efb86..5f1ce10 100644 --- a/profiles/server.nix +++ b/profiles/server.nix @@ -7,16 +7,6 @@ powerManagement.cpuFreqGovernor = "schedutil"; - # see https://www.man7.org/linux/man-pages/man5/loader.conf.5.html - boot.loader.systemd-boot.consoleMode = "max"; - - console = { - earlySetup = true; - font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz"; - packages = with pkgs; [ terminus_font ]; - keyMap = "us"; - }; - services.openssh = { enable = true; permitRootLogin = "yes"; -- cgit 1.4.1