Disable console

This commit is contained in:
Invariantspace 2024-07-19 23:11:35 -07:00
parent 5facd1263f
commit f2ba4730bd
No known key found for this signature in database
GPG key ID: EBC4A20067373921
2 changed files with 13 additions and 18 deletions

View file

@ -6,6 +6,8 @@ let
usrPwdFile = "users/${usr}/password"; usrPwdFile = "users/${usr}/password";
in in
{ {
console.enable = false;
fonts = { fonts = {
fontDir.enable = true; fontDir.enable = true;
fontconfig.defaultFonts = { fontconfig.defaultFonts = {
@ -25,8 +27,7 @@ in
users.${usr} = { config, osConfig, pkgs, ... }: users.${usr} = { config, osConfig, pkgs, ... }:
{ {
home = { home = {
file = { file.kvantum = {
kvantum = {
enable = config.programs.plasma.enable; enable = config.programs.plasma.enable;
target = ".config/Kvantum/kvantum.kvconfig"; target = ".config/Kvantum/kvantum.kvconfig";
text = '' text = ''
@ -34,7 +35,6 @@ in
theme=Sweet-Ambar-Blue theme=Sweet-Ambar-Blue
''; '';
}; };
};
packages = with pkgs; [ packages = with pkgs; [
dua dua
fd fd
@ -122,12 +122,7 @@ in
i18n = { i18n = {
defaultLocale = "zh_CN.UTF-8"; defaultLocale = "zh_CN.UTF-8";
supportedLocales = [ supportedLocales = [ "all" ];
"C.UTF-8/UTF-8"
"en_US.UTF-8/UTF-8"
"ja_JP.UTF-8/UTF-8"
"zh_CN.UTF-8/UTF-8"
];
}; };
programs = { programs = {

6
flake.lock generated
View file

@ -340,11 +340,11 @@
}, },
"nixpkgs_6": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1721138476, "lastModified": 1721379653,
"narHash": "sha256-+W5eZOhhemLQxelojLxETfbFbc19NWawsXBlapYpqIA=", "narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ad0b5eed1b6031efaed382844806550c3dcb4206", "rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374",
"type": "github" "type": "github"
}, },
"original": { "original": {