Modularize nbfc configuration.

This commit is contained in:
CronyAkatsuki 2025-01-31 15:26:10 +01:00
parent c495ecb824
commit 3bb730988d
3 changed files with 40 additions and 14 deletions

View file

@ -81,7 +81,6 @@
neovim
mangohud
lm_sensors
nbfc-linux
];
# Enable nixd to see nixpkgs path
@ -114,18 +113,6 @@
};
};
# 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