{ config, lib, pkgs, ... }: { imports = [ ../hardware/yendor.nix ]; networking.hostName = "yendor"; # System-specific packages environment.systemPackages = with pkgs; [ gnomeExtensions.burn-my-windows gnomeExtensions.desktop-cube ]; # Configure the bootloader boot.loader = { efi.canTouchEfiVariables = true; grub = { enable = true; devices = [ "nodev" ]; efiSupport = true; useOSProber = true; }; }; boot.kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ]; # Configure NVIDIA Graphics hardware.graphics.enable = true; hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; open = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.beta; }; services.xserver.videoDrivers = [ "nvidia" ]; # Configure sound with Pipewire services.pulseaudio.enable = false; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this #jack.enable = true; # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) #media-session.enable = true; }; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "24.11"; # Did you read the comment? }