From 91944275302e8a447f3c65c2c208cc6d5f71d104 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 14 Jul 2022 07:59:18 +0800 Subject: [PATCH] profiles/system: improve upon existing attributes --- modules/nixos/profiles/system.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/modules/nixos/profiles/system.nix b/modules/nixos/profiles/system.nix index 91ba6ba1..e699b8e3 100644 --- a/modules/nixos/profiles/system.nix +++ b/modules/nixos/profiles/system.nix @@ -78,6 +78,7 @@ in { (lib.mkIf cfg.fonts.enable { fonts = { enableDefaultFonts = true; + fontDir.enable = true; fontconfig = { enable = true; includeUserConf = true; @@ -98,8 +99,11 @@ in { # Noto font family noto-fonts noto-fonts-cjk + noto-fonts-cjk-sans + noto-fonts-cjk-serif noto-fonts-extra noto-fonts-emoji + noto-fonts-emoji-blob-bin # Adobe Source font family source-code-pro @@ -120,6 +124,12 @@ in { # Enable tablet support with OpenTabletDriver. hardware.opentabletdriver.enable = true; + # Enable support for Bluetooth. + hardware.bluetooth = { + enable = true; + package = pkgs.bluezFull; + }; + # Welp, this is surprising... services.printing.enable = true; }) @@ -172,7 +182,11 @@ in { upper = "00:00"; }; dates = "weekly"; - flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; + flags = [ + "--update-input" "nixpkgs" + "--commit-lock-file" + "--no-write-lock-file" + ]; randomizedDelaySec = "1min"; }; })