39 lines
668 B
Nix
39 lines
668 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;
|
|
};
|
|
|
|
}
|
|
|