{ channel, ... }: { mkHost = { channel, allowUnfree ? true, sys, features }: # Adapted from https://github.com/wiltaylor/dotfiles/blob/master/lib/host.nix # let # pkgs = import channel { # system = sys; # config = { # inherit allowUnfree; # }; # }; # in channel.lib.nixosSystem { system = sys; modules = []; }; }