aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-06 10:38:24 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-06 10:38:24 -0700
commitda1f5b9b5fabf3835f767c3d9278953483c9a639 (patch)
treef5dda5035006bd7f79265cf8bbd1e52ae39cfdc7
parenthome/profiles: move (almost) all modules to profiles (diff)
downloadinfra-da1f5b9b5fabf3835f767c3d9278953483c9a639.tar.gz
profiles/default: larger font on the console for all hosts
Easier on my eyes.
Diffstat (limited to '')
-rw-r--r--profiles/default.nix10
-rw-r--r--profiles/server.nix10
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";