mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add tuxedo-rs
This commit is contained in:
parent
261c611a9a
commit
3b2a00cbe0
@ -7,6 +7,7 @@
|
|||||||
../../modules/nur-and-unstable.nix
|
../../modules/nur-and-unstable.nix
|
||||||
../../modules/base.nix
|
../../modules/base.nix
|
||||||
../../modules/power-management.nix
|
../../modules/power-management.nix
|
||||||
|
../../modules/tuxedo-rs.nix
|
||||||
../../modules/ntfs.nix
|
../../modules/ntfs.nix
|
||||||
../../modules/git.nix
|
../../modules/git.nix
|
||||||
../../modules/zsh.nix
|
../../modules/zsh.nix
|
||||||
|
22
modules/tuxedo-rs.nix
Normal file
22
modules/tuxedo-rs.nix
Normal 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}
|
||||||
|
]
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user