nixos/hosts/FredOS-Gaming.nix

39 lines
874 B
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
2025-12-16 13:25:17 +00:00
heroic
2026-01-05 09:36:47 +00:00
steamtinkerlaunch
2025-12-09 16:00:56 +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
};
2025-12-16 20:09:02 +00:00
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 1;
2025-12-09 16:14:43 +00:00
2025-12-09 15:58:30 +00:00
system.autoUpgrade = {
enable = true;
dates = "daily";
persistent = true;
allowReboot = false;
2025-12-09 19:34:50 +00:00
channel = "https://nixos.org/channels/nixos-unstable";
2025-12-09 15:58:30 +00:00
flags = [
"--upgrade"
"--option" "tarball-ttl" "0"
];
};
2025-12-09 16:14:43 +00:00
};
}