Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. imports =
  5. [ # Include the results of the hardware scan.
  6. /etc/nixos/hardware-configuration.nix
  7. /etc/nixos/R.nix
  8. ];
  9.  
  10. # Use the GRUB 2 boot loader.
  11. boot.loader.grub.enable = true;
  12. boot.loader.grub.version = 2;
  13. # boot.loader.grub.efiSupport = true;
  14. # boot.loader.grub.efiInstallAsRemovable = true;
  15. # boot.loader.efi.efiSysMountPoint = "/boot/efi";
  16. # Define on which hard drive you want to install Grub.
  17. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
  18. boot.initrd.checkJournalingFS = false;
  19.  
  20. # networking.hostName = "nixos"; # Define your hostname.
  21. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
  22.  
  23. # Configure network proxy if necessary
  24. # networking.proxy.default = "http://user:password@proxy:port/";
  25. # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
  26.  
  27. # Select internationalisation properties.
  28. i18n = {
  29. consoleFont = "Lat2-Terminus16";
  30. consoleKeyMap = "uk";
  31. defaultLocale = "en_IE.UTF-8";
  32. };
  33.  
  34. # Set your time zone.
  35. time.timeZone = "Europe/Dublin";
  36.  
  37. environment.systemPackages = let
  38. jot = pkgs.haskellPackages.callpackage /home/amy/jot/jot.nix {};
  39. in
  40. [ jot ] ++ (with pkgs; [
  41. auctex
  42. bash
  43. binutils-unwrapped
  44. cabal2nix
  45. curl
  46. dmenu2
  47. docker
  48. dzen2
  49. emacs
  50. firefox
  51. gcc
  52. ghc
  53. ghostscript # for pdf2dsc
  54. gitAndTools.gitFull
  55. gnome3.meld
  56. gnumake
  57. haskellPackages.cabal-install
  58. haskellPackages.stylish-haskell
  59. haskellPackages.X11-xft
  60. kdeApplications.okular
  61. libreoffice
  62. lxqt.qterminal
  63. gnome3.gnome-disk-utility
  64. pandoc
  65. pdfmod
  66. pkgconfig
  67. python
  68. python3
  69. python36Packages.csvkit
  70. rEnv
  71. rsync
  72. stack
  73. sxiv
  74. tectonic
  75. texstudio
  76. texlive.combined.scheme-basic
  77. tree
  78. unison
  79. vlc
  80. x11
  81. xmonad-with-packages
  82. xorg.libX11
  83. xsel
  84. wget
  85. ]);
  86.  
  87. # Some programs need SUID wrappers, can be configured further or are
  88. # started in user sessions.
  89. # programs.mtr.enable = true;
  90. # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
  91.  
  92. # List services that you want to enable:
  93.  
  94. # Enable the OpenSSH daemon.
  95. # services.openssh.enable = true;
  96.  
  97. # Open ports in the firewall.
  98. # networking.firewall.allowedTCPPorts = [ ... ];
  99. # networking.firewall.allowedUDPPorts = [ ... ];
  100. # Or disable the firewall altogether.
  101. # networking.firewall.enable = false;
  102.  
  103. # Enable CUPS to print documents.
  104. # services.printing.enable = true;
  105.  
  106. # Enable sound.
  107. sound.enable = true;
  108. hardware.pulseaudio.enable = true;
  109.  
  110. # Enable the X11 windowing system.
  111. # services.xserver.enable = true;
  112. # services.xserver.layout = "uk";
  113. # services.xserver.xkbOptions = "eurosign:e";
  114. services.xserver = {
  115. enable = true;
  116. layout = "ie";
  117. windowManager.xmonad = {
  118. enable = true;
  119. enableContribAndExtras = true;
  120. extraPackages = haskellPackages: [
  121. haskellPackages.xmonad
  122. haskellPackages.xmonad-contrib
  123. haskellPackages.xmonad-extras
  124. ];
  125. };
  126. };
  127.  
  128. # Enable touchpad support.
  129. # services.xserver.libinput.enable = true;
  130.  
  131. # Enable the KDE Desktop Environment.
  132. services.xserver.displayManager.sddm.enable = true;
  133. services.xserver.desktopManager.plasma5.enable = true;
  134.  
  135. # Define a user account. Don't forget to set a password with ‘passwd’.
  136. users.users.amy = {
  137. isNormalUser = true;
  138. home = "/home/amy";
  139. description = "Amy de Buitleir";
  140. extraGroups = [ "wheel" "networkmanager" "vboxsf" ];
  141. uid = 1000;
  142. };
  143.  
  144. # This value determines the NixOS release with which your system is to be
  145. # compatible, in order to avoid breaking some software such as database
  146. # servers. You should change this only after NixOS release notes say you
  147. # should.
  148. system.stateVersion = "18.09"; # Did you read the comment?
  149.  
  150. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement