From 3ab8933fc37093b7cc9849d5782b296eddc36f85 Mon Sep 17 00:00:00 2001 From: macronova Date: Fri, 19 Jul 2024 23:11:35 -0700 Subject: [PATCH] Disable console --- common/users.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/common/users.nix b/common/users.nix index 53f49b6..4c0172c 100644 --- a/common/users.nix +++ b/common/users.nix @@ -6,6 +6,8 @@ let usrPwdFile = "users/${usr}/password"; in { + console.enable = false; + fonts = { fontDir.enable = true; fontconfig.defaultFonts = { @@ -122,12 +124,7 @@ in i18n = { defaultLocale = "zh_CN.UTF-8"; - supportedLocales = [ - "C.UTF-8/UTF-8" - "en_US.UTF-8/UTF-8" - "ja_JP.UTF-8/UTF-8" - "zh_CN.UTF-8/UTF-8" - ]; + supportedLocales = [ "all" ]; }; programs = {