Advertisement
Guest User

Untitled

a guest
Feb 1st, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 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. # Use the GRUB 2 boot loader.
  14. boot.loader.grub.enable = true;
  15. boot.loader.grub.version = 2;
  16. boot.loader.grub.efiSupport = true;
  17. boot.loader.grub.efiInstallAsRemovable = true;
  18. boot.loader.efi.efiSysMountPoint = "/boot/efi";
  19. # Define on which hard drive you want to install Grub.
  20. boot.loader.grub.device = "/dev/sdb"; # or "nodev" for efi only
  21.  
  22. networking.hostName = "anonymous"; # Define your hostname.
  23. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  24.  
  25. # Select internationalisation properties.
  26. i18n = {
  27. consoleFont = "Lat2-Terminus16";
  28. consoleKeyMap = "us";
  29. defaultLocale = "en_US.UTF-8";
  30. };
  31.  
  32. # Set your time zone.
  33. time.timeZone = "America/New_York";
  34.  
  35. # List packages installed in system profile. To search by name, run:
  36. # $ nix-env -qaP | grep wget
  37. environment.systemPackages = with pkgs; [
  38. wget
  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.layout = "us";
  52. services.xserver.xkbOptions = "eurosign:e";
  53. services.xserver.synaptics = true;
  54.  
  55. # Enable the KDE Desktop Environment.
  56. services.xserver.displayManager.kdm.enable = true;
  57. services.xserver.desktopManager.kde4.enable = true;
  58.  
  59. # Gnome desktop
  60. services.xserver.desktopManager.gnome3.enable = true;
  61. services.xserver.desktopManager.default = "gnome3";
  62.  
  63. # Enable XMonad Desktop Environment. (Optional)
  64. services.xserver.windowManager.xmonad.enable = true;
  65. services.xserver.windowManager.xmonad.enableContribAndExtras = true;
  66.  
  67. # Define a user account. Don't forget to set a password with ‘passwd’.
  68. users.extraUsers.guest = {
  69. createHome = true;
  70. home = "/home/sophia";
  71. description = "Sophia";
  72. extraGroups = [ "wheel" "networkmanager" ];
  73. uid = 1000;
  74. };
  75.  
  76. # The NixOS release to be compatible with for stateful data such as databases.
  77. system.stateVersion = "16.09";
  78.  
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement