34 lines
859 B
Nix
34 lines
859 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;
|
|
|
|
# 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" ];
|
|
|
|
services.openssh.enable = true;
|
|
services.nfs.server.enable = true;
|
|
services.vmwareGuest.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;
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
imports = [ ./users.nix ./packages.nix ];
|
|
}
|