nixos/hosts/FredOS-Gaming.nix

61 lines
1.4 KiB
Nix
Raw Normal View History

2025-12-09 16:14:43 +00:00
# hosts/FredOS-Gaming.nix
2025-12-02 21:21:42 +00:00
{ config, pkgs, lib, ... }:
2025-12-09 16:14:43 +00:00
{
config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") {
environment.systemPackages = with pkgs; [
lutris
2026-01-29 13:10:03 +00:00
(heroic.override {
extraPkgs = pkgs: with pkgs; [
adwaita-icon-theme
];
})
2026-01-08 12:18:35 +00:00
mangohud
2026-01-08 22:38:33 +00:00
vesktop
2026-01-08 15:17:30 +00:00
lsfg-vk
2026-01-08 15:36:54 +00:00
lsfg-vk-ui
2026-01-16 23:41:18 +00:00
faugus-launcher
2026-01-20 08:22:00 +00:00
adwaita-icon-theme
mission-center
2026-01-21 13:48:51 +00:00
geary
2026-03-01 22:42:47 +00:00
wowup-cf
2026-03-16 10:19:35 +00:00
#waydroid
2025-12-09 16:00:56 +00:00
];
2026-01-08 12:22:44 +00:00
services.lact.enable = true;
2026-01-08 12:13:31 +00:00
hardware.graphics = {
enable = true;
enable32Bit = true;
};
2026-01-08 12:17:40 +00:00
services.xserver.videoDrivers = ["amdgpu"];
2026-01-11 22:44:56 +00:00
boot.initrd.kernelModules = [ "amdgpu" ];
2025-12-09 15:58:30 +00:00
2026-01-08 12:27:18 +00:00
# Enable AMD GPU overdrive for overclocking/undervolting
2026-01-16 14:57:21 +00:00
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "acpi_osi=\"!Windows 2015\"" ];
2026-01-29 12:44:24 +00:00
2025-12-09 15:58:30 +00:00
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
2025-12-10 20:08:07 +00:00
adwaita-icon-theme
2025-12-09 15:58:30 +00:00
];
};
2025-12-09 16:14:43 +00:00
};
2026-01-24 20:15:01 +00:00
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
channel = "https://nixos.org/channels/nixos-unstable";
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
};
2025-12-09 16:14:43 +00:00
};
}