32 lines
1,017 B
Nix
32 lines
1,017 B
Nix
|
{ config, pkgs, ... }:
|
|||
|
{
|
|||
|
imports =
|
|||
|
[
|
|||
|
# Include the results of the hardware scan.
|
|||
|
./hardware-configuration.nix
|
|||
|
];
|
|||
|
|
|||
|
# Use the GRUB 2 boot loader.
|
|||
|
boot.loader.grub.enable = true;
|
|||
|
boot.loader.grub.version = 2;
|
|||
|
boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only
|
|||
|
|
|||
|
networking.hostName = "lituus"; # Define your hostname.
|
|||
|
|
|||
|
networking.useDHCP = false;
|
|||
|
networking.interfaces.ens3.useDHCP = true;
|
|||
|
|
|||
|
# Configure network proxy if necessary
|
|||
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
|||
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|||
|
|
|||
|
sound.enable = false;
|
|||
|
|
|||
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|||
|
# This value determines the NixOS release with which your system is to be
|
|||
|
# compatible, in order to avoid breaking some software such as database
|
|||
|
# servers. You should change this only after NixOS release notes say you
|
|||
|
# should.
|
|||
|
system.stateVersion = "19.09"; # Did you read the comment?
|
|||
|
}
|