Initial framework: reusable modules, lib, pkgs, overlays, scripts, sample environment
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Packages
|
||||
Custom software packages not found in upstream Nixpkgs.
|
||||
Contains project-specific derivations (default.nix).
|
||||
Can be referenced via overlays or directly by hosts.
|
||||
@@ -0,0 +1,8 @@
|
||||
let
|
||||
spec = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
|
||||
in
|
||||
import (builtins.fetchTarball {
|
||||
url = "https://github.com/NixOS/nixpkgs/archive/${spec.rev}.tar.gz";
|
||||
sha256 = spec.sha256;
|
||||
}) {}
|
||||
# TODO: add a nixos-infra module
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/755f5aa91337890c432639c60b6064bb7fe67769.tar.gz",
|
||||
"rev": "755f5aa91337890c432639c60b6064bb7fe67769",
|
||||
"sha256": "1lmn8dicfwmsfdaiw18xjjys78bal6yjy3a41j02my7kw0wlb76a"
|
||||
}
|
||||
Reference in New Issue
Block a user