Skip to content

Instantly share code, notes, and snippets.

@macalinao
Created June 22, 2019 05:41
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 macalinao/91ba8e2451f3560c14a7c05374740dfd to your computer and use it in GitHub Desktop.
Save macalinao/91ba8e2451f3560c14a7c05374740dfd to your computer and use it in GitHub Desktop.
{ pkgs, lib, config, ... }:
lib.mkMerge [
(
pkgs.callPackage (import ./common.nix) { }
)
(
lib.mkIf
(builtins.pathExists "${config.home.homeDirectory}/private_secrets")
(
pkgs.callPackage (import ./private.nix) { }
)
)
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment