package updates nd removed nbfc-mono
This commit is contained in:
@@ -222,7 +222,7 @@ setSupportedWithFullscreen = withDisplay $ \dpy -> do
|
||||
--}}}
|
||||
|
||||
main = do xmproc <- spawnPipe ("xmobar " ++ myXmobarrc)
|
||||
xmonad $ docks $ ewmh def
|
||||
xmonad $ docks $ fullscreenFix $ ewmh def
|
||||
{ borderWidth = myBorderWidth
|
||||
, manageHook = manageDocks <+> myManageHook
|
||||
, handleEventHook = handleEventHook def <+> fullscreenEventHook
|
||||
|
@@ -87,7 +87,10 @@ in
|
||||
dosbox
|
||||
authy
|
||||
unstable.premid
|
||||
master.tauon
|
||||
taa
|
||||
(master.tauon.overrideAttrs (oa: {
|
||||
pythonPath = oa.pythonPath ++ [ unstable.python39Packages.pypresence ];
|
||||
}))
|
||||
nbfc-linux
|
||||
];
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p mono
|
||||
#Script to control fans via nbfc in /opt/nbfc
|
||||
if [[ $1 = "a" ]]; then
|
||||
mono /opt/nbfc/nbfc.exe set -f 0 -a
|
||||
else
|
||||
mono /opt/nbfc/nbfc.exe set -f 0 -s $1
|
||||
fi
|
||||
|
||||
if [[ $2 = "a" ]]; then
|
||||
mono /opt/nbfc/nbfc.exe set -f 1 -a
|
||||
else
|
||||
mono /opt/nbfc/nbfc.exe set -f 1 -s $2
|
||||
fi
|
Reference in New Issue
Block a user