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,14 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
imports = [
./pkgsconfig.nix
./pkgs.nix
];
}
@@ -0,0 +1,74 @@
{
config,
lib,
inputs,
pkgs,
...
}:
{
## Permitir pacotes não-livres
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
## Aplicativos sociais
bitwarden-desktop
sunshine
tailscale
## inputs
inputs.zen-browser.packages.${stdenv.hostPlatform.system}.default
inputs.shiru.packages.${pkgs.stdenv.hostPlatform.system}.default
## Utilitários do sistema e dev tools
nh
home-manager
vulkan-tools
vulkan-loader
vulkan-utility-libraries
gcc
ethtool
efibootmgr
docker-compose
distroshelf
distrobox
freerdp
dmidecode
i2c-tools
gitFull
kdePackages.partitionmanager
usbutils
openrgb
winetricks
#wineWowPackages.staging
wine
haguichi
logmein-hamachi
zerotierone
kdePackages.ark
loupe
lazygit
gnumake
onlyoffice-desktopeditors
adwaita-qt
adwaita-qt6
winboat
xwayland-satellite
linux-wallpaperengine
#kdePackages.polkit-qt-1
kdePackages.krdp
cloudflared
## inputs stable
#inputs.nixpkgs-stable.legacyPackages.${pkgs.stdenv.hostPlatform.system}
];
programs.gpu-screen-recorder.enable = true;
services.logmein-hamachi.enable = true;
programs.haguichi.enable = true;
nixpkgs.config.permittedInsecurePackages = [
"electron-38.8.4"
];
}
@@ -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
};
}