From a9d54e813445026e766bc1041504bca648587679 Mon Sep 17 00:00:00 2001 From: Guilherme Hermando <112888817+DarkGuibrine@users.noreply.github.com> Date: Thu, 4 Sep 2025 16:47:08 -0300 Subject: [PATCH] Update de rotina --- conf/Obs/obs.nix | 20 ++++++++++++++++++++ conf/Pkgs/pkgs.nix | 2 +- configuration.nix | 2 +- imp.nix | 1 + 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 conf/Obs/obs.nix diff --git a/conf/Obs/obs.nix b/conf/Obs/obs.nix new file mode 100644 index 0000000..8e9c4c9 --- /dev/null +++ b/conf/Obs/obs.nix @@ -0,0 +1,20 @@ +{ config, lib, inputs, pkgs, ... }: { + + programs.obs-studio = { + enable = true; + # optional Nvidia hardware acceleration + package = ( + pkgs.obs-studio.override { + cudaSupport = true; + } + ); + plugins = with pkgs.obs-studio-plugins; [ + wlrobs + obs-backgroundremoval + obs-pipewire-audio-capture + obs-gstreamer + obs-vkcapture + ]; + }; + programs.obs-studio.enableVirtualCamera = true; +} diff --git a/conf/Pkgs/pkgs.nix b/conf/Pkgs/pkgs.nix index 16030be..18d2958 100644 --- a/conf/Pkgs/pkgs.nix +++ b/conf/Pkgs/pkgs.nix @@ -17,7 +17,6 @@ xclicker mangojuice mangohud - hydralauncher protonplus lsfg-vk lsfg-vk-ui @@ -48,6 +47,7 @@ distrobox podman distroshelf + lact ## repositorio 25.05 inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.vulkan-tools diff --git a/configuration.nix b/configuration.nix index 12be99f..235323e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ boot.loader.efi.canTouchEfiVariables = true; boot.loader.systemd-boot.configurationLimit = 10; - boot.kernelPackages = pkgs.linuxPackages_cachyos-lto; # Kernel customizado + boot.kernelPackages = pkgs.linuxPackages_cachyos; # Kernel customizado networking.hostName = "Alfa"; # Defina o nome da sua máquina diff --git a/imp.nix b/imp.nix index 38e9b8e..5c7f594 100644 --- a/imp.nix +++ b/imp.nix @@ -17,5 +17,6 @@ ./conf/wireless/wireless.nix ./conf/Fish/fish.nix ./conf/DistroBox/distrobox.nix + ./conf/Obs/obs.nix ]; }