nixos-config/mastus/configuration.nix

37 lines
774 B
Nix

{ config, pkgs, ... }:
{
imports =
[
/etc/nixos/hardware-configuration.nix
../basic-tools.nix
];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda";
networking.hostName = "mastus"; # Define your hostname.
# Select internationalisation properties.
# i18n = {
# consoleFont = "Lat2-Terminus16";
# consoleKeyMap = "us";
# defaultLocale = "en_US.UTF-8";
# };
time.timeZone = "Europe/Amsterdam";
# Enable the OpenSSH daemon.
services.openssh.enable = true;
users.extraUsers.gebner = {
isNormalUser = true;
shell = "${pkgs.zsh}/bin/zsh";
};
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "15.09";
}