update config

This commit is contained in:
Benjamin Palko 2024-07-11 12:51:59 -04:00
parent 3af7a004c2
commit 9e6eeb6535
2 changed files with 11 additions and 3 deletions

View file

@ -13,6 +13,7 @@
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.kernelParams = [ "nvidia_drm.fbdev=1" ];
# networking.hostName = "nixos"; # Define your hostname. # networking.hostName = "nixos"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
@ -60,6 +61,7 @@
nodejs nodejs
bun bun
rustc rustc
python3
# Music # Music
playerctl playerctl
cava cava
@ -87,12 +89,14 @@
gcc gcc
cmake cmake
unzip unzip
ffmpeg
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
inotify-tools inotify-tools
killall killall
neofetch neofetch
# Hyprland # Hyprland
hyprcursor
waybar waybar
swaynotificationcenter swaynotificationcenter
swww swww
@ -107,15 +111,17 @@
]; ];
fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono"]; }) ]; fonts.packages = with pkgs; [ (nerdfonts.override { fonts = [ "JetBrainsMono"]; }) ];
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
nvidia-vaapi-driver nvidia-vaapi-driver
]; ];
}; };
hardware.nvidia = { hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
package = config.boot.kernelPackages.nvidiaPackages.stable;
}; };
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -137,7 +143,6 @@
steam = { steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
}; };
starship.enable = true; starship.enable = true;

View file

@ -36,6 +36,9 @@ $lockScreen = hyprlock
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
env = HYPRCURSOR_THEME,catpuccin-mocha-light-cursors
env = HYPRCURSOR_SIZE,24
source = ~/.config/hypr/config/environments/nvidia.conf source = ~/.config/hypr/config/environments/nvidia.conf
source = ~/.config/hypr/config/keybinds.conf source = ~/.config/hypr/config/keybinds.conf
source = ~/.config/hypr/config/rules.conf source = ~/.config/hypr/config/rules.conf