added game-serv and updated configs
This commit is contained in:
2024-05-25 21:17:28 +10:00
parent 128b616510
commit 4f5bb4f168
3 changed files with 36 additions and 3 deletions

27
game-serv.nix Normal file
View File

@@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
./components/base-server.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "game-serv"; # Define your hostname.
users.users.kurtisa = {
isNormalUser = true;
description = "Kurtis Andrews";
extraGroups = [ "networkmanager" "wheel" "docker"];
shell = pkgs.fish;
};
# Docker
virtualisation.docker.enable = true;
system.stateVersion = "23.11"; # Did you read the comment?
}