Skip to content

Instantly share code, notes, and snippets.

@LnL7
Created August 27, 2020 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LnL7/5cc772bd1d0e0e0f4669a1e0f05c19d1 to your computer and use it in GitHub Desktop.
Save LnL7/5cc772bd1d0e0e0f4669a1e0f05c19d1 to your computer and use it in GitHub Desktop.
flake.nix
{
description = "LnL's darwin system";
outputs = { self, darwin, dotfiles, nixpkgs }:
let
macbook = darwin.lib.evalConfig {
configuration = {
_file = ./flake.nix;
imports = [ ./configuration.nix darwin.examples.lnl ];
};
inputs = { inherit darwin dotfiles nixpkgs; };
};
in
{
defaultPackage.x86_64-darwin = macbook.system;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment