profiles/system: improve upon existing attributes

This commit is contained in:
Gabriel Arazas 2022-07-14 07:59:18 +08:00
parent 530da5c878
commit 9194427530

View File

@ -78,6 +78,7 @@ in {
(lib.mkIf cfg.fonts.enable { (lib.mkIf cfg.fonts.enable {
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultFonts = true;
fontDir.enable = true;
fontconfig = { fontconfig = {
enable = true; enable = true;
includeUserConf = true; includeUserConf = true;
@ -98,8 +99,11 @@ in {
# Noto font family # Noto font family
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-extra noto-fonts-extra
noto-fonts-emoji noto-fonts-emoji
noto-fonts-emoji-blob-bin
# Adobe Source font family # Adobe Source font family
source-code-pro source-code-pro
@ -120,6 +124,12 @@ in {
# Enable tablet support with OpenTabletDriver. # Enable tablet support with OpenTabletDriver.
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
# Enable support for Bluetooth.
hardware.bluetooth = {
enable = true;
package = pkgs.bluezFull;
};
# Welp, this is surprising... # Welp, this is surprising...
services.printing.enable = true; services.printing.enable = true;
}) })
@ -172,7 +182,11 @@ in {
upper = "00:00"; upper = "00:00";
}; };
dates = "weekly"; dates = "weekly";
flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; flags = [
"--update-input" "nixpkgs"
"--commit-lock-file"
"--no-write-lock-file"
];
randomizedDelaySec = "1min"; randomizedDelaySec = "1min";
}; };
}) })