feat: some config refining and blender
This commit is contained in:
parent
178e199bb7
commit
78d5115aac
5 changed files with 24 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -72,7 +72,10 @@
|
|||
programs = {
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = [pkgs.obs-studio-plugins.wlrobs];
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
input-overlay
|
||||
];
|
||||
};
|
||||
home-manager.enable = true;
|
||||
firefox = {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
{...}: {
|
||||
plugins = {
|
||||
lsp-signature.enable = true;
|
||||
lsp-status.enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
|
@ -29,6 +31,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Haskell
|
||||
hls.enable = true;
|
||||
|
||||
# For TypeScript
|
||||
ts_ls.enable = true;
|
||||
};
|
||||
|
|
|
@ -15,5 +15,7 @@
|
|||
tmux
|
||||
ranger
|
||||
lazygit
|
||||
|
||||
transmission_4-gtk
|
||||
];
|
||||
}
|
||||
|
|
|
@ -64,6 +64,11 @@
|
|||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Disable = "Headset";
|
||||
};
|
||||
};
|
||||
};
|
||||
specialisation = {
|
||||
in-china.configuration = {
|
||||
|
@ -109,6 +114,8 @@
|
|||
zed-editor
|
||||
libsForQt5.qt5.qtquickcontrols2
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
blender
|
||||
#inputs.hyprswitch.packages.x86_64-linux.default
|
||||
];
|
||||
# turned off because timedatectl doesn't like it
|
||||
time.hardwareClockInLocalTime = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue