From 828d963297c9ac6ef739cea44b701dd9d02d8d09 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 6 May 2022 16:38:01 +0000 Subject: [PATCH] Add new file --- config.nix | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 config.nix diff --git a/config.nix b/config.nix new file mode 100644 index 0000000..5dda599 --- /dev/null +++ b/config.nix @@ -0,0 +1,46 @@ +{ config, pkgs, ... }: + +{ + # Import other configuration modules + # (hardware-configuration.nix is autogenerated upon installation) + # paths in nix expressions are always relative the file which defines them + imports = + [ + ./hardware-configuration.nix + ./my-dev-tools.nix + ./my-desktop-env.nix + ./etc.nix + ]; + + # Name your host machine + networking.hostName = "NixOS-VM"; + + # Set your time zone. + time.timeZone = "America/Denver"; + + # Enter keyboard layout + services.xserver.layout = "us"; + + # Define user accounts + users.extraUsers = + { + myuser = + { + extraGroups = [ "wheel" "networkmanager" ]; + isNormalUser = true; + }; + }; + + # Install some packages + environment.systemPackages = + with pkgs; + [ + ddate + testdisk + zsh + ]; + + # Enable the OpenSSH daemon + services.openssh.enable = true; + +}