diff --git a/hosts/nixos/configuration.nix b/hosts/nixos/configuration.nix index c8e9b2d..ce65c38 100644 --- a/hosts/nixos/configuration.nix +++ b/hosts/nixos/configuration.nix @@ -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