{ pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; # Bootloader stuff boot.kernelParams = [ "acpi_backlight=native" "video=efifb:nobgrt" "loglevel=3" "rd.udev.log_level=3" ]; boot.loader.systemd-boot.configurationLimit = 3; boot.initrd.systemd.enable = true; boot.plymouth = { enable = true; themePackages = with pkgs; [ catppuccin-plymouth ]; theme = "catppuccin-macchiato"; extraConfig = '' UseFirmwareBackground=false ''; }; # Networking stuff networking.hostName = "magicman"; # Define your hostname. hardware = { enableRedistributableFirmware = true; enableAllFirmware = true; # Enable opengl graphics = { enable = true; extraPackages = with pkgs; [ intel-media-driver libva-vdpau-driver libvdpau-va-gl ]; }; }; # Host capabilities host.capabilities = { hasCuda = false; hasNvidia = false; hasBattery = true; formFactor = "laptop"; volumeScrollStep = 1; enableArrhist = false; hasEduroamAccess = true; backupRepository = null; backupPassword = null; }; # Bluetooth stuff services.blueman.enable = true; hardware.bluetooth.enable = true; services.pipewire.wireplumber.extraConfig = { "monitor.bluez.properties" = { "bluez5.enable-sbc-xq" = true; "bluez5.enable-msbc" = true; "bluez5.enable-hw-volume" = true; "bluez5.roles" = [ "hsp_hs" "hsp_ag" "hfp_hf" "hfp_ag" ]; }; }; # TRIM services.fstrim.enable = true; programs.steam.enable = true; # Install system-wide packages environment.systemPackages = with pkgs; [ vim wget curl git ]; # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration, # and migrated your data accordingly. # # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion . system.stateVersion = "23.11"; # Did you read the comment? }