Update
added game-serv and updated configs
This commit is contained in:
27
game-serv.nix
Normal file
27
game-serv.nix
Normal 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?
|
||||
}
|
||||
Reference in New Issue
Block a user