27 lines
627 B
Nix
27 lines
627 B
Nix
{ 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 = "24.5"; # Did you read the comment?
|
|
} |