package updates nd removed nbfc-mono

This commit is contained in:
2021-09-21 19:45:47 +05:30
parent 677953529c
commit 21212a5cf4
5 changed files with 10 additions and 29 deletions

View File

@@ -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;
};
}

View File

@@ -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;