Files
platform/base/configuration.nix
Jonas Juselius b162a82416 Major revamp and restructuring of k8s setup:
* replicated etcd setup for redundancy
* use Flannel network overlay
* naming conventions
* new repo structure
* etc.
2017-07-09 21:04:53 +02:00

41 lines
984 B
Nix

{ config, pkgs, ... }:
{
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
boot.kernel.sysctl."vm.overcommit_memory"= 1;
services.vmwareGuest.enable = true;
# Select internationalisation properties.
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
};
# Set your time zone.
time.timeZone = "Europe/Oslo";
networking.search = [ "itpartner.intern" "itpartner.no" ];
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# The NixOS release to be compatible with for stateful data such as databases.
system.stateVersion = "17.03";
programs.zsh.enable = true;
programs.tmux.enable = true;
virtualisation.docker.enable = true;
security.rtkit.enable = true;
fileSystems."/data" = {
device = "10.253.18.103:/data";
fsType = "nfs";
};
imports = [ ./users.nix ./packages.nix ];
}