Advertisement
Guest User

Untitled

a guest
Mar 14th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. { config, pkgs, ... }:
  2.  
  3. {
  4. imports = [
  5. ./hardware-configuration.nix
  6. ];
  7.  
  8. system.stateVersion = "17.09";
  9.  
  10. boot = {
  11. loader.grub = {
  12. device = "/dev/sda";
  13. };
  14.  
  15. plymouth.enable = true;
  16. # cleanTmpDir = true;
  17. };
  18.  
  19. networking = {
  20. hostName = "Z0L1DK3K";
  21.  
  22. # wireless cannot be enabled simultaneously with NetworkManager
  23. # wireless.enable = true;
  24. networkmanager.enable = true;
  25. };
  26.  
  27. hardware = {
  28. opengl.driSupport32Bit = true;
  29.  
  30. pulseaudio = {
  31. enable = true;
  32. package = pkgs.pulseaudioFull;
  33. };
  34. };
  35.  
  36. security.sudo.wheelNeedsPassword = false;
  37.  
  38. users = {
  39. mutableUsers = false;
  40. defaultUserShell = pkgs.fish;
  41.  
  42. extraUsers.wolfcub = {
  43. isNormalUser = true;
  44. extraGroups = [ "wheel" "networkmanager" ];
  45. password = "fewa";
  46. uid = 1337;
  47. };
  48. };
  49.  
  50. nix = {
  51. maxJobs = 4;
  52. };
  53.  
  54. nixpkgs = {
  55. config = {
  56. allowUnfree = true;
  57. };
  58.  
  59. overlays = [];
  60. };
  61.  
  62. i18n = {
  63. # consoleFont = "Lat2-Terminus16";
  64. consoleKeyMap = "br-abnt2";
  65. defaultLocale = "en_US.UTF-8";
  66. };
  67.  
  68. time.timeZone = "America.Sao_Paulo";
  69.  
  70. services = {
  71. openssh.enable = false;
  72.  
  73. xserver = {
  74. enable = true;
  75. layout = "br";
  76. # videoDrivers = [ "intel" "amdgpu" "ati" ];
  77.  
  78. desktopManager {
  79. xterm.enable = false;
  80. default = "xfce";
  81.  
  82. xfce = {
  83. enable = true;
  84. enableXfwn = false;
  85. noDesktop = true;
  86. thunarPlugins = with pkgs.xfce; [
  87. thunar-archive-plugin
  88. # thunar-dropbox-plugin
  89. ];
  90. };
  91. };
  92.  
  93. windowManager = {
  94. default = "xmonad";
  95.  
  96. xmonad = {
  97. enable = true;
  98. enableContribAndExtras = true;
  99. };
  100. };
  101.  
  102. displayManager.lightdm = {
  103. enable = true;
  104. # greeter.enable = false;
  105.  
  106. autoLogin = {
  107. # enable = true;
  108. user = "wolfcub";
  109. timeout = 0;
  110. };
  111. };
  112. };
  113.  
  114. nixosManual.showManual = true;
  115. };
  116.  
  117. programs = {
  118. fish {
  119. enable = true;
  120. # promptInit = "";
  121. };
  122.  
  123. xonsh.enable = true;
  124.  
  125. oblogout {
  126. enable = true;
  127. opacity = 100;
  128. };
  129.  
  130. virtualbox.enable = true;
  131. java.enable = true;
  132. mosh.enable = false;
  133. thefuck.enable = true;
  134. qt5ct.enable = true;
  135. };
  136.  
  137. fonts = {
  138. enableDefaultFonts = true;
  139. enableFontDir = true;
  140.  
  141. extraFonts = with pkgs; [
  142. fantasque-sans-mono
  143. inconsolata
  144. linux-libertine
  145. source-code-pro
  146. source-serif-pro
  147. source-sans-pro
  148. nerdfonts
  149. noto-fonts-cjk
  150. noto-fonts-git
  151. noto-fonts-emoji-git
  152. vista-fonts
  153. google-fonts
  154. symbola
  155. emojione
  156. ];
  157.  
  158. fontconfig = {
  159. defaultFonts = {
  160. monospace = [ "FantasqueSansMono Nerd Font" ];
  161. serif = [ "Linux Libertine" ];
  162. sansSerif = [ "Linux Biolinum" ];
  163. };
  164.  
  165. ultimate {
  166. enable = true;
  167. substitutions = "combi";
  168. };
  169. };
  170. };
  171.  
  172. environment.systemPackages = with pkgs; [
  173. ## ICONS ##
  174. papirus-icon-theme
  175. # material-icons
  176. # breeze-icons
  177. # arc-icon-theme
  178. # numix-icon-theme
  179. # numix-icon-theme-square
  180. # numix-icon-theme-circle
  181.  
  182. ## THEMES ##
  183. # qt5.qtbase.gtk ?
  184. adapta-gtk-theme
  185. breeze-gtk
  186. breeze-qt5
  187. # arc-theme
  188. # numix-gtk-theme
  189. # numix-sx-gtk-theme
  190. # greybird
  191.  
  192. ## GRUB THEMES ##
  193. # breeze-grub
  194.  
  195. ## NETWORK ##
  196. network-manager-applet
  197.  
  198. ## WEB ##
  199. wget
  200. qbittorrent
  201. youtube-dl
  202. firefox
  203. google-chrome
  204. # chromium
  205.  
  206. ## AUDIO ##
  207. pavucontrol
  208. pa-applet
  209. mpd
  210. mpc
  211. ncmpcpp
  212. audacious-qt5
  213. easytag
  214. spek
  215. flacon
  216. # split2flac
  217. # csound
  218. # supercollider
  219.  
  220. ## VIDEO ##
  221. mpv
  222. bomi
  223.  
  224. ## IMAGE ##
  225. gimp
  226. gthumb
  227. nomacs
  228. scrot
  229.  
  230. ## 3D ##
  231. wings
  232. blender
  233.  
  234. ## EBOOKS ##
  235. calibre
  236. zathura-with-plugins
  237.  
  238. ## OTHER ACCESSORIES ##
  239. ark
  240. nitrogen
  241. fzf
  242. tldr
  243. htop
  244. lxappearance
  245. qdirstat
  246. stalonetray
  247.  
  248. ## X UTILS ##
  249. xrandr
  250. xmodmap
  251. xev
  252. xprop
  253.  
  254. ## DEVELOPMENT ##
  255. lldb
  256. llvm
  257. git
  258. tig
  259. nix-prefetch-git
  260. silver-searcher
  261.  
  262. ## EDITORS ##
  263. neovim
  264. vim
  265. emacs
  266. qtcreator
  267.  
  268. ## C++ TOOLS ##
  269. clang
  270. clang-tools
  271. cmake
  272.  
  273. ## C++ LIBRARIES ##
  274. # should these be here?
  275. # "With nix, only applications should be installed into profiles."
  276. boost
  277. qt
  278. qtdoc
  279.  
  280. ## HASKELL TOOLS ##
  281. stack
  282. cabal-install
  283. cabal2nix
  284.  
  285. ## CHAT ##
  286. hexchat
  287. discord
  288.  
  289. ## LAUNCHER ##
  290. rofi
  291. # albert
  292. # dmenu
  293. # j4-dmenu-desktop
  294.  
  295. ## FILE MANAGER ##
  296. dolphin
  297. pcmanfm
  298. ranger
  299.  
  300. ## TERMINAL ##
  301. termite
  302. rxvt-unicode-with-perl-with-unicode3-with-plugins
  303. # tilix
  304. # tmux # nixos options available
  305.  
  306. ## PRODUCTIVITY ##
  307. taskwarrior
  308. tasksh
  309. timewarrior
  310. # timetrap
  311.  
  312. ## NOTIFICATIONS ##
  313. # excluded from the xfce service when noDesktop is true
  314. xfce.xfce4-notifyd
  315. ];
  316. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement