Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4.  
  5. { config, pkgs, ... }:
  6.  
  7. {
  8. imports =
  9. [ # Include the results of the hardware scan.
  10. ./hardware-configuration.nix
  11. ];
  12.  
  13. nixpkgs.config.allowUnfree = true;
  14.  
  15. # Use the GRUB 2 boot loader.
  16. boot.loader.grub.enable = true;
  17. boot.loader.grub.version = 2;
  18. # Define on which hard drive you want to install Grub.
  19. boot.loader.grub.device = "/dev/sda";
  20.  
  21. networking.hostName = "kuttybox"; # Define your hostname.
  22. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  23.  
  24. # Select internationalisation properties.
  25. # i18n = {
  26. # consoleFont = "lat9w-16";
  27. # consoleKeyMap = "us";
  28. # defaultLocale = "en_US.UTF-8";
  29. # };
  30.  
  31. # Set your time zone.
  32. time.timeZone = "America/Denver";
  33.  
  34. # List packages installed in system profile. To search by name, run:
  35. # $ nix-env -qaP | grep wget
  36. environment.systemPackages = with pkgs; [
  37. curl i3 i3status dunst rxvt_unicode-with-plugins tmux weechat gmrun
  38. chromiumBeta emacs tmux vim git which bash
  39. ];
  40.  
  41. # List services that you want to enable:
  42.  
  43. # Enable the OpenSSH daemon.
  44. services.openssh.enable = true;
  45.  
  46. # Enable CUPS to print documents.
  47. # services.printing.enable = true;
  48.  
  49. # Enable the X11 windowing system.
  50. services.xserver.enable = true;
  51. services.xserver.synaptics.enable = true;
  52. services.xserver.layout = "us";
  53. services.xserver.autorun = true;
  54. services.xserver.windowManager.i3.enable = true;
  55. services.xserver.windowManager.default = "i3";
  56. services.xserver.displayManager.slim.enable = true;
  57.  
  58. users.extraUsers."nafai" = {
  59. isNormalUser = true;
  60. description = "Travis B. Hartwell";
  61. home = "/home/nafai";
  62. extraGroups = ["wheel" "networkmanager"];
  63. shell = "/run/current-system/sw/bin/bash";
  64. uid = 1000;
  65. };
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement