Feat: The state of my mental health

This commit is contained in:
KaitoTLex 2024-11-19 08:07:14 -08:00
parent 00846c059f
commit 211a0ef64b
3 changed files with 63 additions and 6 deletions

View file

@ -11,7 +11,8 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
];
hardware.graphics.enable32Bit = true;
hardware.pulseaudio.support32Bit = true;
boot.initrd.luks.fido2Support = true;
boot.kernelParams = [ "mem_sleep_default=deep" ];
# Bootloader.
@ -19,10 +20,15 @@
boot.loader.efi.canTouchEfiVariables = true;
virtualisation.waydroid.enable = true;
networking.hostName = "shiroko"; # Define your hostname.
security.pam.yubico.enable = true;
#security yargen
# security.pam.yubico.enable = true;
services.fprintd = {
#tod.enable = true;
enable = true;
};
security.pam.services.root.fprintAuth = true;
services.fprintd.enable = true;
security.pam.services.login.fprintAuth = true;
#If i become a twat
services.desktopManager.plasma6.enable = false;
# Configure network proxy if necessary
@ -32,6 +38,38 @@
# Enable networking
networking.networkmanager.enable = true;
#Here's my Attempt of Sleep XD
systemd.sleep.extraConfig = ''
AllowSuspend=yes
AllowHibernation=yes
AllowHybridSleep=yes
AllowSuspendThenHibernate=yes
'';
#Conclusion: Intel Hates Me
#laptop Optmization
powerManagement.enable = true;
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_performance";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 20;
#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
};
};
# Set your time zone.
time.timeZone = "America/Los_Angeles";

View file

@ -4,7 +4,7 @@
config = rec {
terminal = "kitty";
modifier = "Mod4";
menu = "rofi -show drun";
menu = "rofi -show combi";
bars = [
{
command = "waybar";
@ -68,6 +68,13 @@
bindsym XF86AudioMute exec pamixer -t
bindsym XF86MonBrightnessUp exec brightnessctl s 5%+
bindsym XF86MonBrightnessDown exec brightnessctl s 5%-
bindsym XF86AudioMicMute exec spotify
input "type:touchpad" {
natural_scroll enabled
tap enabled # enables click-on-tap
tap_button_map lrm # tap with 1 finger = left click, 2 fingers = right click, 3 fingers = middle click
dwt enabled # disable (touchpad) while typing
}
'';
};

View file

@ -22,7 +22,15 @@
home.packages = with pkgs; [
# here is some command line tools I use frequently
# feel free to add your own or remove some of them
xdg-desktop-portal-gtk
pavucontrol
ryujinx
unzip
sixpair
kdePackages.kio-fuse
kdePackages.kio-extras
kdePackages.qtsvg
kdePackages.qtwayland
yubikey-personalization
typst-live
typst
@ -35,6 +43,7 @@
wineWowPackages.waylandFull
wget
vscode
melonDS
gparted
gnumake
chromium
@ -50,7 +59,9 @@
nwg-displays
dolphin
xfce.thunar
tailwindcss
nodejs_22
clang
macchanger
ani-cli
@ -58,6 +69,7 @@
sherlock
steam
blueman
notion-app-enhanced
# archives