diff --git a/home/config/xmonad/xmonad.hs b/home/config/xmonad/xmonad.hs index a68ad4c..2ae8b27 100644 --- a/home/config/xmonad/xmonad.hs +++ b/home/config/xmonad/xmonad.hs @@ -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 diff --git a/home/natto.nix b/home/natto.nix index f74db5e..9d00397 100644 --- a/home/natto.nix +++ b/home/natto.nix @@ -87,7 +87,10 @@ in dosbox authy unstable.premid - master.tauon + taa + (master.tauon.overrideAttrs (oa: { + pythonPath = oa.pythonPath ++ [ unstable.python39Packages.pypresence ]; + })) nbfc-linux ]; diff --git a/hosts/satori/hardware.nix b/hosts/satori/hardware.nix index 6a990a4..f7a0a44 100644 --- a/hosts/satori/hardware.nix +++ b/hosts/satori/hardware.nix @@ -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; + }; } diff --git a/hosts/satori/services.nix b/hosts/satori/services.nix index 4aeefd9..b91d34d 100644 --- a/hosts/satori/services.nix +++ b/hosts/satori/services.nix @@ -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; diff --git a/overlays/customscripts/src/fan b/overlays/customscripts/src/fan deleted file mode 100644 index c3503ef..0000000 --- a/overlays/customscripts/src/fan +++ /dev/null @@ -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