Skip to content

Instantly share code, notes, and snippets.

@samueldr

samueldr/nix.nix Secret

Created September 18, 2017 00:53
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 samueldr/41d7d85db1899db380e84030b1bdf17d to your computer and use it in GitHub Desktop.
Save samueldr/41d7d85db1899db380e84030b1bdf17d to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
{
# ...
nix = {
nixPath = [
"/etc/nixos"
"nixpkgs=/etc/nixos"
"nixos-config=/etc/nixos/configuration.nix"
"/nix/var/nix/profiles/per-user/root/channels"
];
};
nixpkgs.overlays = [
(import ../overlays/default.nix)
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment