From cd1784429050e4472de951fe6764a3ce787e1f72 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Sun, 2 Feb 2025 21:37:43 +0500 Subject: [PATCH] feat: NixOS | install steam and mangohud --- nixos/configuration.nix | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 10992e8..8c29d73 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -80,6 +80,8 @@ in # Framework firmware updating services.fwupd.enable = true; + # Enable sound with pipewire. + services.pulseaudio.enable = false; services.pipewire = { enable = true; alsa.enable = true; @@ -96,8 +98,6 @@ in RUN+="${pkgs.systemd}/bin/loginctl lock-sessions" ''; - # Enable sound with pipewire. - services.pulseaudio.enable = false; hardware = { # Bluetooth. bluetooth.enable = true; @@ -164,8 +164,19 @@ in win-virtio win-spice sbctl # Secure boot + + # Gaming stuff + mangohud + protonup-qt ]; + # Enable steam for gaming + programs.steam = { + enable = true; + gamescopeSession.enable = true; + }; + programs.gamemode.enable = true; + programs._1password.enable = true; programs._1password-gui = { enable = true;