all repos — nixfiles @ 28ad7d193f1e8479480a789a767e717c2856072f

System and user configuration, managed by nix and home-manager

shared/lix.nix (view raw)

1
2
3
4
5
6
7
8
{ pkgs, ... }:
let
  useLix = true;
  # nix eval --inputs-from . nixpkgs#lixPackageSets --apply builtins.attrNames --json
  lixPkgs = if pkgs.stdenv.isDarwin then pkgs.lixPackageSets.latest else pkgs.lixPackageSets.stable;
in
# enables switching all lix/nix dependencies at once
if useLix then lixPkgs else pkgs