nixos/system/Vanguard.nix

105 lines
2.2 KiB
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{
config,
pkgs,
username,
...
}:
{
imports = [ ./desktop.nix ];
environment.sessionVariables.MANGOHUD = 1;
home-manager.users.${username} = {
home.packages = with pkgs; [
krita
kdenlive
helvum
prusa-slicer
blender
freecad
openscad
kicad-small
2024-09-10 08:05:59 +01:00
mangohud
wineWowPackages.waylandFull
winetricks
lutris
cartridges
2024-09-10 08:05:59 +01:00
prismlauncher
];
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-vkcapture
obs-pipewire-audio-capture
input-overlay
];
};
2024-09-12 07:12:49 +01:00
wayland.windowManager.sway.config = {
output = {
"Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@120Hz";
position = "0 140";
};
2024-09-12 07:12:49 +01:00
"Microstep MSI G27CQ4 E2 Unknown" = {
mode = "2560x1440@120Hz";
scale = "1.25";
2024-09-12 07:12:49 +01:00
position = "1920 0";
};
};
workspaceOutputAssign = [
{
output = "DP-2";
workspace = "1";
}
{
output = "DP-1";
workspace = "6";
}
2024-09-12 07:12:49 +01:00
];
};
};
boot = {
2024-07-30 15:06:34 +01:00
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
};
hardware = {
amdgpu.initrd.enable = true;
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
steam-hardware.enable = true;
};
2024-09-10 08:05:59 +01:00
programs = {
2024-09-13 11:08:12 +01:00
gamemode.enable = true;
2024-09-10 08:05:59 +01:00
steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = true;
};
2024-09-13 11:08:12 +01:00
gamescope = {
enable = true;
capSysNice = true;
};
};
2024-09-28 08:23:48 +01:00
xdg.configFile."MangoHud/MangoHud.conf".text = ''
preset=2
time
# text_color=FFFFFF
# gpu_color=2E9762
# cpu_color=2E97CB
# vram_color=AD64C1
# ram_color=C26693
# engine_color=EB5B5B
# io_color=A491D3
# frametime_color=00FF00
# background_color=020202
# media_player_color=FFFFFF
# wine_color=EB5B5B
# battery_color=FF9078
# network_color=E07B85
2024-09-28 08:23:48 +01:00
'';
}