nix-config/hosts/phone/configuration.nix
Donovan Glover 3f25b52168
Revert "phone: Enable irqbalance"
Phone runs much, much cooler without irqbalance enabled and `cat
/sys/class/thermal/thermal_zone0/temp` often reports a difference of
at least 10000, such as from 46897 to 36367. In other words, the phone
seems to be consistently 20 degrees fahrenheit cooler.
2024-06-29 07:23:58 -04:00

77 lines
1.1 KiB
Nix

{ self, pkgs, lib, ... }:
let
inherit (builtins) attrValues;
in
{
imports = attrValues self.nixosModules;
nixpkgs.overlays = attrValues {
inherit (self.overlays) phinger-cursors;
};
home-manager.sharedModules = attrValues {
inherit (self.homeManagerModules)
eza
fcitx
fish
git
gpg
gtk
htop
librewolf
neovim
starship
xdg-user-dirs
xresources
;
};
environment.systemPackages = attrValues self.packages.${pkgs.system};
modules = {
system = {
hostName = "mobile-nixos";
stateVersion = "23.11";
phone = true;
};
desktop = {
phone = true;
phosh = true;
};
hardware.keyboardBinds = true;
system = {
mullvad = true;
};
};
programs = {
calls.enable = true;
};
services.pipewire.enable = lib.mkForce false;
networking = {
wireless.enable = false;
wireguard.enable = true;
};
services = {
openssh.enable = true;
};
powerManagement = {
enable = true;
cpufreq = rec {
min = 648000;
max = min;
};
cpuFreqGovernor = "powersave";
};
}