nixos-config/mastus/configuration.nix

43 lines
876 B
Nix
Raw Normal View History

2015-09-14 17:30:18 +00:00
{ config, pkgs, ... }:
{
imports =
[
/etc/nixos/hardware-configuration.nix
../basic-tools.nix
2015-10-18 12:25:54 +00:00
./mail.nix
./gogs.nix
2015-09-14 17:30:18 +00:00
];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda";
networking.hostName = "mastus"; # Define your hostname.
2015-10-18 12:25:54 +00:00
networking.enableIPv6 = true;
2015-09-14 17:30:18 +00:00
# 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;
2015-10-18 12:30:53 +00:00
# shell = "${pkgs.zsh}/bin/zsh";
2015-09-14 17:30:18 +00:00
};
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "15.09";
2015-10-18 12:25:54 +00:00
services.nginx.enable = true;
2015-09-14 17:30:18 +00:00
}