Created
December 30, 2013 15:49
-
-
Save pjstadig/8183688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
{ 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; | |
# Define on which hard drive you want to install Grub. | |
boot.loader.grub.device = "/dev/sda"; | |
networking.hostName = "kaylee"; # Define your hostname. | |
networking.wireless.enable = true; # Enables wireless. | |
networking.wireless.interfaces = [ "wlp2s0" ]; | |
networking.wireless.userControlled.enable = true; | |
networking.wireless.userControlled.group = "wheel"; | |
# hardware.pulseaudio.enable = true; | |
time.timeZone = "America/New_York"; | |
# Select internationalisation properties. | |
i18n = { | |
# consoleFont = "lat9w-16"; | |
consoleKeyMap = "dvorak"; | |
# defaultLocale = "en_US.UTF-8"; | |
}; | |
# List services that you want to enable: | |
# Enable the OpenSSH daemon. | |
services.openssh.enable = true; | |
# Enable CUPS to print documents. | |
services.printing.enable = true; | |
# Enable the X11 windowing system. | |
services.xserver.enable = true; | |
services.xserver.layout = "us"; | |
services.xserver.xkbVariant = "dvorak"; | |
services.xserver.xkbOptions = "ctrl:nocaps"; | |
services.xserver.windowManager.i3.enable = true; | |
services.xserver.windowManager.default = "i3"; | |
services.xserver.desktopManager.xfce.enable = true; | |
services.xserver.desktopManager.default = "xfce"; | |
users.extraUsers = { | |
paul = { | |
createHome = true; | |
description = "Paul Stadig"; | |
extraGroups = [ "wheel" "networkmanager" ]; | |
group = "users"; | |
home = "/home/paul"; | |
shell = "/run/current-system/sw/bin/bash"; | |
uid = 10000; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment