Skip to content

Instantly share code, notes, and snippets.

@seanstrom
Created November 1, 2015 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanstrom/a1823db9f1113f876ed0 to your computer and use it in GitHub Desktop.
Save seanstrom/a1823db9f1113f876ed0 to your computer and use it in GitHub Desktop.
nixos
boot.kernelPackages = pkgs.linuxPackags_4_2;
boot.initrd.luks.devices = [
{ name = "rootfs";
device = "/dev/sda3";
preLVM = true; }
];
networking.hostName = "sn-m3800-nixos";
networking.networkmanager.enable = true;
i18n = {
consoleFont = "Lat2-Terminus16";
consoleKeyMap = "colemak/en-latin9";
defaultLocale = "en_US.UTF-8";
};
environment.systemPackages = with pkgs; [
wget
vim
emacs
yi
tmux
gitFull
htop
which
rxvt_unicode-with-plugins
chromium
firefox
networkmanagerapplet
];
services.xserver = {
enable = true;
layout = "us";
xkbVariant = "colemak";
xkbOptions = "ctrl:nocaps";
desktopManager.default = "none";
windowManager.default = "awesome";
windowManager.awesome.enable = true;
};
users.extraUsers.seanstrom = {
isNormalUser = true;
uid = 1000;
createHome = true;
home = "/home/seanstrom";
extraGroups = [
"wheel"
"networkmanager"
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment