Advertisement
Guest User

Untitled

a guest
Apr 10th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 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 = import ./nixpkgs.nix;
  14.  
  15. boot.loader.gummiboot.enable = true;
  16. boot.loader.efi.canTouchEfiVariables = true;
  17. boot.supportedFilesystems = [ "exfat" ];
  18.  
  19. i18n = {
  20. consoleFont = "Lat2-Terminus16";
  21. consoleKeyMap = "us";
  22. defaultLocale = "en_US.UTF-8";
  23. };
  24.  
  25. time.timeZone = "America/Chicago";
  26.  
  27. environment.systemPackages = with pkgs; [
  28. wget xfce.xfce4_whiskermenu_plugin python34Packages.powerline
  29. ];
  30.  
  31. system.stateVersion = "16.09";
  32.  
  33. users.users.max = {
  34. isNormalUser = true;
  35. initialPassword = "hunter2";
  36. extraGroups = [ "wheel" ];
  37. };
  38.  
  39. programs.zsh.enable = true;
  40. users.defaultUserShell = "/run/current-system/sw/bin/zsh";
  41.  
  42. networking.wireless.enable = true;
  43. networking.hostName = "nix-desktop";
  44. networking.nameservers = [ "8.8.8.8" "8.8.4.4" ];
  45.  
  46. services.printing.enable = true;
  47. services.openssh.enable = true;
  48. services.xserver = {
  49. enable = true;
  50. videoDrivers = [ "nvidia" ];
  51. displayManager.slim.enable = true;
  52. desktopManager.xfce.enable = true;
  53. desktopManager.xterm.enable = false;
  54. };
  55.  
  56. hardware.pulseaudio.enable = true;
  57. security.audit.enable = false;
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement