Install nbfc and set it up.
This commit is contained in:
parent
54e7cfe947
commit
c495ecb824
@ -81,6 +81,7 @@
|
|||||||
neovim
|
neovim
|
||||||
mangohud
|
mangohud
|
||||||
lm_sensors
|
lm_sensors
|
||||||
|
nbfc-linux
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable nixd to see nixpkgs path
|
# 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
|
# Allow for wireguard traffic
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
# if packets are still dropped, they will show up in dmesg
|
# if packets are still dropped, they will show up in dmesg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user