add tuxedo-rs

This commit is contained in:
Daniel Langbein 2024-01-27 15:53:27 +01:00
parent 261c611a9a
commit 3b2a00cbe0
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 23 additions and 0 deletions

View File

@ -7,6 +7,7 @@
../../modules/nur-and-unstable.nix
../../modules/base.nix
../../modules/power-management.nix
../../modules/tuxedo-rs.nix
../../modules/ntfs.nix
../../modules/git.nix
../../modules/zsh.nix

22
modules/tuxedo-rs.nix Normal file
View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
# Much quieter CPU fan on AMD Ryzen Tuxedo laptop.
hardware.tuxedo-rs = {
enable = true;
# Whether to enable tailor-gui, an alternative to TUXEDO Control Center, written in Rust.
# tailor-gui: Rust GUI for interacting with hardware from TUXEDO Computers.
tailor-gui.enable = true;
};
environment.etc."tailord/fan/default.json".text = ''
[
{"temp":50,"fan":0},
{"temp":55,"fan":10},
{"temp":60,"fan":20},
{"temp":65,"fan":30},
{"temp":70,"fan":40},
{"temp":80,"fan":70},
{"temp":90,"fan":100}
]
'';
}