diff --git a/eshu/etc/nixos/configuration.nix b/eshu/etc/nixos/configuration.nix index 1e09d6e..b16af35 100644 --- a/eshu/etc/nixos/configuration.nix +++ b/eshu/etc/nixos/configuration.nix @@ -10,10 +10,14 @@ ./hardware-configuration.nix ]; + boot.kernelPackages = pkgs.linuxPackages; # (this is the default) some amdgpu issues on 6.10 # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + hardware.bluetooth.enable = true; + hardware.xone.enable = true; # support for the xbox controller USB dongle + networking.hostName = "eshu"; # Define your hostname. # Pick only one of the below networking options. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -34,6 +38,13 @@ # useXkbConfig = true; # use xkb.options in tty. # }; + services.blueman.enable = true; + services.getty.autologinUser = "eliribble"; + environment = { + loginShellInit = '' + [[ "$(tty)" = "/dev/tty1" ]] && ./gs.sh + ''; + }; # Enable the X11 windowing system. services.xserver.enable = true; @@ -74,6 +85,7 @@ chezmoi fish git + mangohud neovim python3 tmux @@ -98,6 +110,7 @@ "steam" "steam-original" "steam-run" + "xow_dongle-firmware" ]; # Open ports in the firewall. @@ -107,11 +120,18 @@ networking.firewall.enable = false; # Set up steam - programs.steam = { - enable = true; - 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 + programs = { + gamescope = { + enable = true; + capSysNice = true; + }; + steam = { + dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + enable = true; + gamescopeSession.enable = true; + localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + }; }; # Copy the NixOS configuration file and link it from the resulting system