Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [jcb@phaethon ~]$ cat /etc/nixos/configuration.nix
- # Edit this configuration file to define what should be installed on
- # your system. Help is available in the configuration.nix(5) man page
- # and in the NixOS manual (accessible by running ‘nixos-help’).
- { config, pkgs, ... }:
- {
- imports =
- [ # Include the results of the hardware scan.
- ./hardware-configuration.nix
- ];
- # Use the systemd-boot EFI boot loader.
- boot.loader.systemd-boot.enable = true;
- boot.loader.efi.canTouchEfiVariables = true;
- networking.hostName = "phaethon"; # Define your hostname.
- networking.wireless.enable = true; # Enables wireless via wpa_supplicant.
- # Select internationalisation properties.
- i18n = {
- consoleFont = "Lat2-Terminus16";
- consoleKeyMap = "us";
- defaultLocale = "en_US.UTF-8";
- };
- # Set your time zone.
- time.timeZone = "US/Eastern";
- # Audio/Graphics
- hardware.pulseaudio.enable = true;
- hardware.opengl.driSupport32Bit = true;
- hardware.pulseaudio.support32Bit = true;
- # Fonts
- fonts.fonts = [ pkgs.google-fonts ];
- # List packages installed in system profile. To search by name, run:
- # $ nix-env -qaP | grep wget
- environment.systemPackages = with pkgs; [
- dmenu
- git
- ghc
- firefox
- feh
- rxvt_unicode
- stack
- wget
- vim
- xorg.xmodmap
- zathura
- haskellPackages.xmobar
- haskellPackages.hakyll
- ];
- # Some programs need SUID wrappers, can be configured further or are
- # started in user sessions.
- # programs.bash.enableCompletion = true;
- # programs.mtr.enable = true;
- # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
- # List services that you want to enable:
- # Enable the OpenSSH daemon.
- # services.openssh.enable = true;
- # Open ports in the firewall.
- # networking.firewall.allowedTCPPorts = [ ... ];
- # networking.firewall.allowedUDPPorts = [ ... ];
- # Or disable the firewall altogether.
- # networking.firewall.enable = false;
- # Enable CUPS to print documents.
- # services.printing.enable = true;
- # Enable the X11 windowing system.
- services.xserver = {
- enable = true;
- layout="us";
- windowManager.xmonad = {
- enable = true;
- enableContribAndExtras = true;
- };
- desktopManager= {
- default = "";
- xterm.enable = false;
- };
- displayManager.slim = {
- enable = true;
- defaultUser = "jcb";
- };
- };
- # Define a user account. Don't forget to set a password with ‘passwd’.
- users.extraUsers.jcb = {
- home = "/home/jcb";
- createHome = true;
- extraGroups = ["wheel" "audio" "networkmanager" "autologin"];
- isNormalUser = true;
- uid = 1000;
- };
- # This value determines the NixOS release with which your system is to be
- # compatible, in order to avoid breaking some software such as database
- # servers. You should change this only after NixOS release notes say you
- # should.
- system.stateVersion = "17.09"; # Did you read the comment?
- system.autoUpgrade.enable = true;
- }
- [jcb@phaethon ~]$ nix-info
- 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
- [jcb@phaethon ~]$ nix-env -iA nixos.steam
- replacing old ‘steam’
- installing ‘steam’
- [jcb@phaethon ~]$ steam
- cp: cannot create regular file '/home/jcb/.local/share/Steam/bootstrap.tar.xz': Permission denied
- Running Steam on nixos 17.09.2378.af7e47921c4 64-bit
- STEAM_RUNTIME has been set by the user to: /steamrt
- Pins potentially out-of-date, rebuilding...
- mkdir: cannot create directory ‘/nix/store/3kj5smk5v25mw98jbx1gajv3whfrgxmf-steam-fhs/steamrt/pinned_libs_32’: Read-only file system
- mkdir: cannot create directory ‘/nix/store/3kj5smk5v25mw98jbx1gajv3whfrgxmf-steam-fhs/steamrt/pinned_libs_64’: Read-only file system
- /home/jcb/.local/share/Steam/steam.sh: line 874: /steamrt/run.sh: No such file or directory
- Error: You are missing the following 32-bit libraries, and Steam may not run:
- libgobject-2.0.so.0
- libglib-2.0.so.0
- libgio-2.0.so.0
- libgtk-x11-2.0.so.0
- libpulse.so.0
- libgdk_pixbuf-2.0.so.0
- libva.so.1
- libbz2.so.1.0
- libz.so.1
- libvdpau.so.1
- libva.so.1
- libva-x11.so.1
- Error:
- You are missing the following 32-bit libraries, and Steam may not run:
- libgobject-2.0.so.0
- libglib-2.0.so.0
- libgio-2.0.so.0
- libgtk-x11-2.0.so.0
- libpulse.so.0
- libgdk_pixbuf-2.0.so.0
- libva.so.1
- libbz2.so.1.0
- libz.so.1
- libvdpau.so.1
- libva.so.1
- libva-x11.so.1
- Press enter to continue:
- Installing breakpad exception handler for appid(steam)/version(1513371133)
- Installing breakpad exception handler for appid(steam)/version(1513371133)
- Installing breakpad exception handler for appid(steam)/version(1513371133)
- Failed to load steamui.so - dlerror(): libgobject-2.0.so.0: cannot open shared object file: No such file or directory
- Installing breakpad exception handler for appid(steam)/version(1513371133)
- Installing breakpad exception handler for appid(steam)/version(1513371133)
- [2017-12-18 05:44:06] Startup - updater built Dec 15 2017 11:47:44
- Looks like steam didn't shutdown cleanly, scheduling immediate update check
- [2017-12-18 05:44:07] Checking for update on startup
- [2017-12-18 05:44:07] Checking for available updates...
- [2017-12-18 05:44:07] Download skipped: /client/steam_client_ubuntu12 version 1513371133, installed version 1513371133
- [2017-12-18 05:44:07] Nothing to do
- [2017-12-18 05:44:07] Verifying installation...
- [2017-12-18 05:44:07] Performing checksum verification of executable files
- [2017-12-18 05:44:07] Verification complete
- [2017-12-18 05:44:10] Shutdown
- [jcb@phaethon ~]$
Advertisement
Add Comment
Please, Sign In to add comment