Feat: The state of my mental health
This commit is contained in:
parent
00846c059f
commit
211a0ef64b
3 changed files with 63 additions and 6 deletions
|
@ -11,7 +11,8 @@
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
hardware.graphics.enable32Bit = true;
|
||||||
|
hardware.pulseaudio.support32Bit = true;
|
||||||
boot.initrd.luks.fido2Support = true;
|
boot.initrd.luks.fido2Support = true;
|
||||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -19,10 +20,15 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
virtualisation.waydroid.enable = true;
|
virtualisation.waydroid.enable = true;
|
||||||
networking.hostName = "shiroko"; # Define your hostname.
|
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;
|
#If i become a twat
|
||||||
security.pam.services.login.fprintAuth = true;
|
|
||||||
services.desktopManager.plasma6.enable = false;
|
services.desktopManager.plasma6.enable = false;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
|
@ -32,6 +38,38 @@
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
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.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Los_Angeles";
|
time.timeZone = "America/Los_Angeles";
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
config = rec {
|
config = rec {
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
menu = "rofi -show drun";
|
menu = "rofi -show combi";
|
||||||
bars = [
|
bars = [
|
||||||
{
|
{
|
||||||
command = "waybar";
|
command = "waybar";
|
||||||
|
@ -68,6 +68,13 @@
|
||||||
bindsym XF86AudioMute exec pamixer -t
|
bindsym XF86AudioMute exec pamixer -t
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl s 5%+
|
bindsym XF86MonBrightnessUp exec brightnessctl s 5%+
|
||||||
bindsym XF86MonBrightnessDown 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
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,15 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# here is some command line tools I use frequently
|
# here is some command line tools I use frequently
|
||||||
# feel free to add your own or remove some of them
|
# 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
|
yubikey-personalization
|
||||||
typst-live
|
typst-live
|
||||||
typst
|
typst
|
||||||
|
@ -35,6 +43,7 @@
|
||||||
wineWowPackages.waylandFull
|
wineWowPackages.waylandFull
|
||||||
wget
|
wget
|
||||||
vscode
|
vscode
|
||||||
|
melonDS
|
||||||
gparted
|
gparted
|
||||||
gnumake
|
gnumake
|
||||||
chromium
|
chromium
|
||||||
|
@ -50,7 +59,9 @@
|
||||||
nwg-displays
|
nwg-displays
|
||||||
dolphin
|
dolphin
|
||||||
xfce.thunar
|
xfce.thunar
|
||||||
|
tailwindcss
|
||||||
|
|
||||||
|
nodejs_22
|
||||||
clang
|
clang
|
||||||
macchanger
|
macchanger
|
||||||
ani-cli
|
ani-cli
|
||||||
|
@ -58,6 +69,7 @@
|
||||||
sherlock
|
sherlock
|
||||||
|
|
||||||
steam
|
steam
|
||||||
|
blueman
|
||||||
|
|
||||||
notion-app-enhanced
|
notion-app-enhanced
|
||||||
# archives
|
# archives
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue