Skip to content

Instantly share code, notes, and snippets.

@steventlamb
Created October 14, 2014 05:24
Show Gist options
  • Save steventlamb/a4cbc26cf67c52896f35 to your computer and use it in GitHub Desktop.
Save steventlamb/a4cbc26cf67c52896f35 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
{
imports =
[ ./hardware-configuration.nix ];
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
environment.systemPackages = with pkgs; [
curl wget python
busybox emacs git firefox redshift
trayer dmenu haskellPackages.xmobar terminator
networkmanagerapplet
];
i18n.consoleFont = "lat9w-16";
i18n.consoleKeyMap = "us";
i18n.defaultLocale = "en_US.UTF-8";
networking.hostName = "euwe";
networking.wireless.enable = true;
services.openssh.enable = true;
services.xserver.enable = true;
services.xserver.layout = "us";
services.xserver.xkbOptions = "ctrl:nocaps";
services.xserver.synaptics.enable = true;
services.xserver.synaptics.twoFingerScroll = true;
services.xserver.windowManager.xmonad.enable = true;
services.xserver.windowManager.xmonad.enableContribAndExtras = true;
services.xserver.windowManager.default = "xmonad";
services.xserver.desktopManager.default = "none";
# TODO: this might be more trouble than it's worth, as declarative
# user config is experimental in nix at this time.
users.extraUsers.steve = {
name = "steve";
group = "users";
uid = 1000;
createHome = true;
home = "/home/steve";
useDefaultShell = true;
extraGroups = ["wheel"];
};
# TODO: this broke during installation, had to rollback. try again later.
# networking.networkmanager.enable = true;
# this sets my timezone, but is off by an hour. "EDT" is not found.
# time.timeZone = "EST";
# TODO: this runs, but fails to automatically fix my timezone problem
# services.ntp.enable = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment