nix/system/zenix/system.nix
2023-05-05 09:29:23 +01:00

39 lines
664 B
Nix

# https://search.nixos.org/options
{ config, pkgs, lib, ... }:
{
networking.hostName = "zenix";
services.xserver = {
layout = "gb";
xkbOptions = "caps:escape";
};
services.openssh.enable = true;
networking.firewall.checkReversePath = "loose";
system.stateVersion = "22.11"; # do not change
virtualisation = {
podman = {
enable = true;
};
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# gamer time
"steam"
"steam-run"
"steam-original"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}