Install nbfc and set it up.

This commit is contained in:
CronyAkatsuki 2025-01-30 22:47:27 +01:00
parent 54e7cfe947
commit c495ecb824

View File

@ -81,6 +81,7 @@
neovim
mangohud
lm_sensors
nbfc-linux
];
# Enable nixd to see nixpkgs path
@ -113,6 +114,18 @@
};
};
# Install nbfc-linux
systemd.services.nbfc_service = {
enable = false;
description = "NoteBook FanControl Service";
serviceConfig.Type = "simple";
path = [pkgs.kmod];
script = "${pkgs.nbfc-linux}/bin/nbfc_service --config-file '/home/crony/.config/nbfc.json'";
wantedBy = ["multi-user.target"];
};
# Allow for wireguard traffic
networking.firewall = {
# if packets are still dropped, they will show up in dmesg