Advertisement
Guest User

Untitled

a guest
Dec 1st, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 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. boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
  14. boot.kernelModules = [ "kvm-intel" ];
  15. boot.extraModulePackages = [ ];
  16.  
  17. fileSystems."/" =
  18. { device = "/dev/disk/by-uuid/39dab9e1-eff4-435b-bd1f-994a67a7f6ce";
  19. fsType = "ext4";
  20. };
  21.  
  22. fileSystems."/home" =
  23. { device = "/dev/disk/by-label/home";
  24. fsType = "ext4";
  25. };
  26.  
  27. fileSystems."/boot" =
  28. { device = "/dev/disk/by-uuid/4688-0525";
  29. fsType = "vfat";
  30. };
  31.  
  32. swapDevices =
  33. [ { device = "/dev/disk/by-uuid/8aafea10-59d9-43d2-9dd6-5042e4d9dc62"; }
  34. ];
  35.  
  36. nix.maxJobs = 4;
  37. # Use the systemd-boot EFI boot loader.
  38. boot.loader.systemd-boot.enable = true;
  39. boot.loader.efi.canTouchEfiVariables = true;
  40. # boot.kernelParams = [ "nomodeset" ];
  41.  
  42. networking.hostName = "mommynix"; # Define your hostname.
  43. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  44.  
  45. # Select internationalisation properties.
  46. # i18n = {
  47. # consoleFont = "Lat2-Terminus16";
  48. # consoleKeyMap = "us";
  49. # defaultLocale = "en_US.UTF-8";
  50. # };
  51.  
  52. # Set your time zone.
  53. # time.timeZone = "Europe/Amsterdam";
  54.  
  55. #nixpkgs.config.allowUnfree = true;
  56.  
  57. # List packages installed in system profile. To search by name, run:
  58. # $ nix-env -qaP | grep wget
  59. environment.systemPackages = with pkgs; [
  60. wget
  61. vim
  62. git
  63. ];
  64.  
  65. # List services that you want to enable:
  66.  
  67. # Enable the OpenSSH daemon.
  68. services.openssh.enable = true;
  69.  
  70. # Enable CUPS to print documents.
  71. # services.printing.enable = true;
  72.  
  73. # Enable the X11 windowing system.
  74. services.xserver.enable = true;
  75. services.xserver.autorun = true;
  76. # services.xserver.videoDrivers = [ "amdgpu" "modesetting" ];
  77. #services.xserver.videoDrivers = [ "ati" ];
  78. #services.xserver.videoDrivers = [ "vesa" ];
  79. #services.xserver.videoDrivers = [ "ati_unfree" ];
  80. # services.xserver.layout = "us";
  81. # services.xserver.xkbOptions = "eurosign:e";
  82.  
  83. # Enable the KDE Desktop Environment.
  84. # services.xserver.displayManager.kdm.enable = true;
  85. #services.xserver.desktopManager.xfce.enable = true;
  86. # services.xserver.desktopManager.default = "xfce";
  87.  
  88. # Define a user account. Don't forget to set a password with ‘passwd’.
  89. users.extraUsers.jeanny = {
  90. isNormalUser = true;
  91. };
  92.  
  93. # The NixOS release to be compatible with for stateful data such as databases.
  94. system.stateVersion = "16.09";
  95.  
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement