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

View File

@@ -4,7 +4,7 @@
time.timeZone = "Australia/Brisbane";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
i18n.defaultLocale = "en_AU.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_AU.UTF-8";
@@ -18,6 +18,13 @@
LC_TIME = "en_AU.UTF-8";
};
# Configure keymap in X11
services.xserver = {
layout = "au";
xkbVariant = "";
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
@@ -39,5 +46,4 @@
services.openssh.enable = true;
programs.fish.enable = true;
}

View File

@@ -4,7 +4,7 @@
time.timeZone = "Australia/Brisbane";
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
i18n.defaultLocale = "en_AU.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_AU.UTF-8";

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?
}