feat: some config refining and blender

This commit is contained in:
Zhongheng Liu 2024-11-21 18:39:35 +02:00
commit 78d5115aac
Signed by: steven
GPG key ID: DC8F48E7B4C40905
5 changed files with 24 additions and 3 deletions

View file

@ -3,7 +3,10 @@
pkgs,
lib,
...
}: {
}: let
monitorMaxBrightness = "255";
monitorMinBrightness = "32";
in {
# Type definitions for nix variables used in this configuration
options = with lib;
with types; {
@ -29,11 +32,12 @@
myDisplayName = "Zhongheng Liu";
myEmail = "z.liu@outlook.com.gr";
specialisation."powersave".configuration = {
myAutostartCommands = ["${pkgs.brightnessctl}/bin/brightnessctl s 64"];
myAutostartCommands = ["${pkgs.brightnessctl}/bin/brightnessctl s ${monitorMinBrightness}"];
};
myConfigLocation = "/home/${myUserName}/nix-conf";
desktopFontFullName = "JetBrainsMono Nerd Font";
myAutostartCommands = [
"${pkgs.brightnessctl}/bin/brightnessctl s ${monitorMaxBrightness}"
"fcitx5"
# "${pkgs.foot}/bin/foot --server -f \"${desktopFontFullName}:size=12\" -o colors.alpha=0.85"
"${pkgs.udiskie}/bin/udiskie"