Guest User

Untitled

a guest
Dec 18th, 2017
643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.70 KB | None | 0 0
  1. [jcb@phaethon ~]$ cat /etc/nixos/configuration.nix
  2. # Edit this configuration file to define what should be installed on
  3. # your system. Help is available in the configuration.nix(5) man page
  4. # and in the NixOS manual (accessible by running ‘nixos-help’).
  5.  
  6. { config, pkgs, ... }:
  7.  
  8. {
  9. imports =
  10. [ # Include the results of the hardware scan.
  11. ./hardware-configuration.nix
  12. ];
  13.  
  14.  
  15.  
  16. # Use the systemd-boot EFI boot loader.
  17. boot.loader.systemd-boot.enable = true;
  18. boot.loader.efi.canTouchEfiVariables = true;
  19.  
  20. networking.hostName = "phaethon"; # Define your hostname.
  21. networking.wireless.enable = true; # Enables wireless via wpa_supplicant.
  22.  
  23. # Select internationalisation properties.
  24. i18n = {
  25. consoleFont = "Lat2-Terminus16";
  26. consoleKeyMap = "us";
  27. defaultLocale = "en_US.UTF-8";
  28. };
  29.  
  30. # Set your time zone.
  31. time.timeZone = "US/Eastern";
  32.  
  33. # Audio/Graphics
  34. hardware.pulseaudio.enable = true;
  35.  
  36. hardware.opengl.driSupport32Bit = true;
  37. hardware.pulseaudio.support32Bit = true;
  38.  
  39. # Fonts
  40.  
  41. fonts.fonts = [ pkgs.google-fonts ];
  42.  
  43. # List packages installed in system profile. To search by name, run:
  44. # $ nix-env -qaP | grep wget
  45.  
  46. environment.systemPackages = with pkgs; [
  47. dmenu
  48. git
  49. ghc
  50. firefox
  51. feh
  52. rxvt_unicode
  53. stack
  54. wget
  55. vim
  56. xorg.xmodmap
  57. zathura
  58.  
  59. haskellPackages.xmobar
  60. haskellPackages.hakyll
  61. ];
  62.  
  63. # Some programs need SUID wrappers, can be configured further or are
  64. # started in user sessions.
  65. # programs.bash.enableCompletion = true;
  66. # programs.mtr.enable = true;
  67. # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
  68.  
  69. # List services that you want to enable:
  70.  
  71. # Enable the OpenSSH daemon.
  72. # services.openssh.enable = true;
  73.  
  74. # Open ports in the firewall.
  75. # networking.firewall.allowedTCPPorts = [ ... ];
  76. # networking.firewall.allowedUDPPorts = [ ... ];
  77. # Or disable the firewall altogether.
  78. # networking.firewall.enable = false;
  79.  
  80. # Enable CUPS to print documents.
  81. # services.printing.enable = true;
  82.  
  83.  
  84. # Enable the X11 windowing system.
  85. services.xserver = {
  86. enable = true;
  87. layout="us";
  88.  
  89. windowManager.xmonad = {
  90. enable = true;
  91. enableContribAndExtras = true;
  92. };
  93.  
  94. desktopManager= {
  95. default = "";
  96. xterm.enable = false;
  97. };
  98.  
  99. displayManager.slim = {
  100. enable = true;
  101. defaultUser = "jcb";
  102. };
  103. };
  104.  
  105. # Define a user account. Don't forget to set a password with ‘passwd’.
  106. users.extraUsers.jcb = {
  107. home = "/home/jcb";
  108. createHome = true;
  109. extraGroups = ["wheel" "audio" "networkmanager" "autologin"];
  110. isNormalUser = true;
  111. uid = 1000;
  112. };
  113.  
  114. # This value determines the NixOS release with which your system is to be
  115. # compatible, in order to avoid breaking some software such as database
  116. # servers. You should change this only after NixOS release notes say you
  117. # should.
  118. system.stateVersion = "17.09"; # Did you read the comment?
  119. system.autoUpgrade.enable = true;
  120.  
  121. }
  122. [jcb@phaethon ~]$ nix-info
  123. system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(jcb): "", channels(root): "nixos-17.09.2378.af7e47921c4", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
  124. [jcb@phaethon ~]$ nix-env -iA nixos.steam
  125. replacing old ‘steam’
  126. installing ‘steam’
  127. [jcb@phaethon ~]$ steam
  128. cp: cannot create regular file '/home/jcb/.local/share/Steam/bootstrap.tar.xz': Permission denied
  129. Running Steam on nixos 17.09.2378.af7e47921c4 64-bit
  130. STEAM_RUNTIME has been set by the user to: /steamrt
  131. Pins potentially out-of-date, rebuilding...
  132. mkdir: cannot create directory ‘/nix/store/3kj5smk5v25mw98jbx1gajv3whfrgxmf-steam-fhs/steamrt/pinned_libs_32’: Read-only file system
  133. mkdir: cannot create directory ‘/nix/store/3kj5smk5v25mw98jbx1gajv3whfrgxmf-steam-fhs/steamrt/pinned_libs_64’: Read-only file system
  134. /home/jcb/.local/share/Steam/steam.sh: line 874: /steamrt/run.sh: No such file or directory
  135. Error: You are missing the following 32-bit libraries, and Steam may not run:
  136. libgobject-2.0.so.0
  137. libglib-2.0.so.0
  138. libgio-2.0.so.0
  139. libgtk-x11-2.0.so.0
  140. libpulse.so.0
  141. libgdk_pixbuf-2.0.so.0
  142. libva.so.1
  143. libbz2.so.1.0
  144. libz.so.1
  145. libvdpau.so.1
  146. libva.so.1
  147. libva-x11.so.1
  148. Error:
  149. You are missing the following 32-bit libraries, and Steam may not run:
  150. libgobject-2.0.so.0
  151. libglib-2.0.so.0
  152. libgio-2.0.so.0
  153. libgtk-x11-2.0.so.0
  154. libpulse.so.0
  155. libgdk_pixbuf-2.0.so.0
  156. libva.so.1
  157. libbz2.so.1.0
  158. libz.so.1
  159. libvdpau.so.1
  160. libva.so.1
  161. libva-x11.so.1
  162. Press enter to continue:
  163. Installing breakpad exception handler for appid(steam)/version(1513371133)
  164. Installing breakpad exception handler for appid(steam)/version(1513371133)
  165. Installing breakpad exception handler for appid(steam)/version(1513371133)
  166. Failed to load steamui.so - dlerror(): libgobject-2.0.so.0: cannot open shared object file: No such file or directory
  167. Installing breakpad exception handler for appid(steam)/version(1513371133)
  168. Installing breakpad exception handler for appid(steam)/version(1513371133)
  169. [2017-12-18 05:44:06] Startup - updater built Dec 15 2017 11:47:44
  170. Looks like steam didn't shutdown cleanly, scheduling immediate update check
  171. [2017-12-18 05:44:07] Checking for update on startup
  172. [2017-12-18 05:44:07] Checking for available updates...
  173. [2017-12-18 05:44:07] Download skipped: /client/steam_client_ubuntu12 version 1513371133, installed version 1513371133
  174. [2017-12-18 05:44:07] Nothing to do
  175. [2017-12-18 05:44:07] Verifying installation...
  176. [2017-12-18 05:44:07] Performing checksum verification of executable files
  177. [2017-12-18 05:44:07] Verification complete
  178. [2017-12-18 05:44:10] Shutdown
  179. [jcb@phaethon ~]$
Advertisement
Add Comment
Please, Sign In to add comment