Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2019
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. [root@nixos:~]# head -n 40 /mnt/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, lib, ... }:
  7.  
  8. let
  9. oldTarball = fetchTarball https://nixos.org/channels/nixos-18.09/nixexprs.tar.xz;
  10. in
  11.  
  12. {
  13. imports =
  14. [ # Include the results of the hardware scan.
  15. ./hardware-configuration.nix
  16. ];
  17.  
  18. nixpkgs.config = {
  19. allowUnfree = true;
  20. packageOverrides = pkgs: {
  21. old = import oldTarball {
  22. config = config.nixpkgs.config;
  23. };
  24.  
  25. # lxappearance bug(?) https://github.com/NixOS/nixpkgs/issues/26909
  26. lxappearance = pkgs.lxappearance.overrideAttrs(old: rec {
  27. name = "lxappearance-0.6.2";
  28. src = pkgs.fetchurl {
  29. url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
  30. sha256 = "07r0xbi6504zjnbpan7zrn7gi4j0kbsqqfpj8v2x94gr05p16qj4";
  31. };
  32. });
  33. };
  34. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement