adicionando a VPS

This commit is contained in:
2026-04-19 15:17:37 -03:00
parent 5f85583bd0
commit 8329531ac7
37 changed files with 1630 additions and 0 deletions
@@ -0,0 +1,74 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
## configuraçao da steam
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
gamescope.enable = true;
gamemode.enable = true;
};
## Configuraçoes do obs
#programs.obs-studio = {
# enable = true;
# #optional Nvidia hardware acceleration
# package = (
# pkgs.obs-studio.override {
# cudaSupport = true;
# }
# );
# plugins = with pkgs.obs-studio-plugins; [
# wlrobs
# obs-pipewire-audio-capture
# obs-gstreamer
# obs-vkcapture
# ];
# #enableVirtualCamera = true;
#};
## Configuraçoes do LACT
environment.systemPackages = with pkgs; [ lact ];
systemd.services.lact = {
description = "GPU Control Daemon";
after = [ "multi-user.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.lact}/bin/lact daemon";
};
enable = true;
};
## Fontes
fonts.fontDir.enable = true;
fonts.fontconfig.enable = true;
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
nerd-fonts.ubuntu-mono
nerd-fonts.ubuntu-sans
nerd-fonts.dejavu-sans-mono
nerd-fonts.fira-code
nerd-fonts.overpass
noto-fonts
liberation_ttf
dejavu_fonts
];
## OpenRGB
services.hardware.openrgb = {
enable = true;
motherboard = "amd";
package = pkgs.openrgb-with-all-plugins; # enable all plugins
};
}