all repos — nixfiles @ b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf

System and user configuration, managed by nix and home-manager

Revert "Switch back to flakes" This reverts commit c0384c43821474d28af1d9696ceb473a0d769292.

Alan Pearce
commit

b5bcdf72cbc998550bf55af1842fe65f8c9ef0bf

parent

734a3cebed8dd4be66a546179dbda890abc5a10d

1 file changed, 20 insertions(+), 0 deletions(-)

changed files
A sources.nix
@@ -0,0 +1,20 @@
+let + sources = import ./npins; + pkgs = import sources.nixpkgs { }; + config = + if pkgs.stdenv.isDarwin + then "darwin-config" + else "nixos-config"; + inherit (import ./lib { inherit pkgs; }) mkNixPath fromSources; + + allSources = { + personal = ./packages; + nixpkgs-overlays = ./overlays; + private = ./private; + ${config} = ./system/configuration.nix; + } // (fromSources sources); +in +{ + sources = allSources; + nixPath = mkNixPath allSources; +}