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; + +}