helm/hosts/cube/configuration.nix

36 lines
1 KiB
Nix
Raw Normal View History

2022-04-17 07:26:27 -07:00
{ config, pkgs, ... }:
{
imports =
2022-04-22 04:47:05 -07:00
[
# Include the results of the hardware scan.
2022-04-17 07:26:27 -07:00
./hardware-configuration.nix
];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
2022-04-21 05:57:34 -07:00
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
2022-04-17 07:26:27 -07:00
networking.hostName = "cube"; # Define your hostname.
time.timeZone = "Australia/Brisbane";
networking.useDHCP = false;
networking.interfaces.ens3.useDHCP = true;
2022-04-22 04:47:05 -07:00
i18n.defaultLocale = "en_US.UTF-8";
2022-04-17 07:26:27 -07:00
environment.systemPackages = with pkgs; [
2022-04-22 04:47:05 -07:00
vim
gitAndTools.gitFull
2022-04-17 07:26:27 -07:00
];
2022-04-21 05:57:34 -07:00
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.11"; # Did you read the comment?
2022-04-17 07:26:27 -07:00
}