From af861dd0f8f814c6d6e5ba94fed9eb45d1e6fa32 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Wed, 1 Jan 2020 16:23:57 -0700 Subject: [PATCH] legacy: import modules an overlays --- configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index a8909a3..5d22f5e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -6,7 +6,7 @@ let host = lib.fileContents /etc/hostname; in { - imports = [ + imports = builtins.attrValues (import ./modules) ++ [ "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos" /etc/nixos/profiles/core.nix "/etc/nixos/hosts/${host}.nix" @@ -17,4 +17,6 @@ in "nixpkgs=${}" "nixos-config=/etc/nixos/configuration.nix" ]; + + nixpkgs.overlays = lib.singleton (import ./pkgs); }