yes?
This commit is contained in:
commit
55c076d7fe
4 changed files with 83 additions and 29 deletions
|
@ -11,32 +11,25 @@
|
|||
# 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.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
networking.hostName = "shiroko"; # Define your hostname.
|
||||
|
||||
services.fprintd.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.actkbd = {
|
||||
#security yargen
|
||||
# security.pam.yubico.enable = true;
|
||||
services.fprintd = {
|
||||
#tod.enable = true;
|
||||
enable = true;
|
||||
bindings = [
|
||||
{
|
||||
keys = [ 232 ];
|
||||
events = [ "key" ];
|
||||
command = "${pkgs.brightnessctl}/bin/brightnessctl set 1000";
|
||||
}
|
||||
{
|
||||
keys = [ 233 ];
|
||||
events = [ "key" ];
|
||||
command = "${pkgs.brightnessctl}/bin/brightnessctl set 1000-";
|
||||
}
|
||||
];
|
||||
};
|
||||
security.pam.services.root.fprintAuth = true;
|
||||
|
||||
#If i become a twat
|
||||
services.desktopManager.plasma6.enable = false;
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
@ -45,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";
|
||||
|
||||
|
|
|
@ -8,26 +8,26 @@
|
|||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/0b6e9715-5ce6-49d1-98f9-ea0a5d4237f9";
|
||||
{ device = "/dev/disk/by-uuid/082ff607-f7a2-4909-95b3-c5c698f26de5";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-fef5cb12-a610-4701-9215-717caf0b27ad".device = "/dev/disk/by-uuid/fef5cb12-a610-4701-9215-717caf0b27ad";
|
||||
boot.initrd.luks.devices."luks-292cc751-7ae1-4a4b-8835-502760a9bf9f".device = "/dev/disk/by-uuid/292cc751-7ae1-4a4b-8835-502760a9bf9f";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/A91B-FD09";
|
||||
{ device = "/dev/disk/by-uuid/524F-2940";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/7beb9844-e0c3-44dc-998f-ee42e36b9543"; }
|
||||
[ { device = "/dev/disk/by-uuid/94f5084c-2995-4a62-a492-9071c122bc08"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
config = rec {
|
||||
terminal = "kitty";
|
||||
modifier = "Mod4";
|
||||
menu = "rofi -show drun";
|
||||
menu = "rofi -show combi";
|
||||
bars = [
|
||||
{
|
||||
command = "waybar";
|
||||
|
@ -62,9 +62,20 @@
|
|||
];
|
||||
};
|
||||
xwayland = true;
|
||||
#extraConfigs = {
|
||||
# keybindings = "bindsym XF86MonBrightnessDown exec brightnessctl -d amdgpu_bl2 set 10%- \n
|
||||
# bindsym XF86MonBrightnessUp exec brightnessctl -d amdgpu_bl2 set 10%+";
|
||||
#};
|
||||
extraConfig = ''
|
||||
bindsym XF86AudioRaiseVolume exec pamixer -i 5
|
||||
bindsym XF86AudioLowerVolume exec pamixer -d 5
|
||||
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
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -22,6 +22,16 @@
|
|||
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
|
||||
tmux
|
||||
|
@ -33,6 +43,7 @@
|
|||
wineWowPackages.waylandFull
|
||||
wget
|
||||
vscode
|
||||
melonDS
|
||||
gparted
|
||||
gnumake
|
||||
chromium
|
||||
|
@ -48,6 +59,12 @@
|
|||
nwg-displays
|
||||
dolphin
|
||||
xfce.thunar
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
tailwindcss
|
||||
|
||||
nodejs_22
|
||||
>>>>>>> refs/remotes/origin/main
|
||||
clang
|
||||
macchanger
|
||||
ani-cli
|
||||
|
@ -56,6 +73,7 @@
|
|||
tinymist
|
||||
|
||||
steam
|
||||
blueman
|
||||
|
||||
notion-app-enhanced
|
||||
# archives
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue