Add new file

This commit is contained in:
Aaron Honeycutt 2022-05-06 17:22:58 +00:00
parent c29cb5c31d
commit 5f1e1a64d5

51
config-gnome.nix Normal file
View file

@ -0,0 +1,51 @@
{ 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
];
boot.loader = {
systemd-boot.enable = true;
};
# 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 =
{
aaronh =
{
extraGroups = [ "wheel" "networkmanager" ];
isNormalUser = true;
};
};
# Install some packages
environment.systemPackages =
with pkgs;
[
ddate
testdisk
fish
];
# Enable the OpenSSH daemon
services.openssh.enable = true;
# GNOME
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
}