This commit is contained in:
KaitoTLex 2024-11-27 20:22:18 -08:00
parent 1f99bce2b5
commit d5f3087478
3 changed files with 23 additions and 11 deletions

View file

@ -16,8 +16,10 @@
# ClassicBondedOnly = false;
# };
#};
hardware.graphics.enable32Bit = true;
hardware.pulseaudio.support32Bit = true;
hardware = {
graphics.enable32Bit = true;
pulseaudio.support32Bit = true;
};
boot.initrd.luks.fido2Support = true;
boot.kernelParams = [ "mem_sleep_default=deep" ];
# Bootloader.
@ -25,6 +27,13 @@
boot.loader.efi.canTouchEfiVariables = true;
virtualisation.waydroid.enable = true;
networking.hostName = "shiroko"; # Define your hostname.
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
#security yargen
# security.pam.yubico.enable = true;
services.fprintd = {
@ -58,9 +67,9 @@
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "balance_performance";
CPU_SCALING_GOVERNOR_ON_BAT = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
@ -70,7 +79,7 @@
#Optional helps save long term battery health
START_CHARGE_THRESH_BAT0 = 20; # 40 and bellow it starts to charge
STOP_CHARGE_THRESH_BAT0 = 95; # 80 and above it stops charging
STOP_CHARGE_THRESH_BAT0 = 98; # 80 and above it stops charging
};
};