package updates nd removed nbfc-mono
This commit is contained in:
@@ -45,12 +45,15 @@
|
||||
swapDevices = [ {device = "/dev/nvme0n1p7";} ];
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 50;
|
||||
algorithm = "lz4";
|
||||
memoryPercent = 30;
|
||||
priority = -1;
|
||||
};
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
cpuFreqGovernor = "powersave";
|
||||
};
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
};
|
||||
}
|
||||
|
@@ -1,17 +1,6 @@
|
||||
{lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
systemd.services.nbfc = {
|
||||
description = "Notebook Fancontrol";
|
||||
wantedBy = lib.mkForce [];
|
||||
serviceConfig = {
|
||||
Type = "forking";
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${pkgs.mono}/bin/mono-service -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe";
|
||||
ExecStop = "kill -SIGTERM $(cat /run/nbfc.pid)";
|
||||
PIDFile = "/run/nbfc.pid";
|
||||
};
|
||||
};
|
||||
services = {
|
||||
tor.enable = true;
|
||||
logmein-hamachi.enable = true;
|
||||
|
Reference in New Issue
Block a user