Add nix-serve-ng to outputs; add .envrc for flake direnv

This commit is contained in:
James Eversole 2023-06-27 13:20:42 -05:00
parent 17055e30a4
commit 6ff2f8ef59
4 changed files with 60 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# Nix
/result
*qcow*
.direnv*

54
flake.lock generated
View File

@ -22,6 +22,22 @@
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -43,6 +59,28 @@
"type": "github"
}
},
"nix-serve-ng": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1686590704,
"narHash": "sha256-OniSf88TtsV25/CDcOufSossX7BZshhXNoNfhCMzK4k=",
"owner": "aristanetworks",
"repo": "nix-serve-ng",
"rev": "94aebfc8827c18e9b68ee5a7099e40b8cd32c8f1",
"type": "github"
},
"original": {
"owner": "aristanetworks",
"repo": "nix-serve-ng",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1687555006,
@ -61,8 +99,24 @@
"root": {
"inputs": {
"agenix": "agenix",
"nix-serve-ng": "nix-serve-ng",
"nixpkgs": "nixpkgs"
}
},
"utils": {
"locked": {
"lastModified": 1678901627,
"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",

View File

@ -15,7 +15,7 @@
};
};
outputs = { self, nixpkgs, agenix, ... }@attrs:
outputs = { self, nixpkgs, agenix, nix-serve-ng, ... }@attrs:
let
pkgs = import nixpkgs { inherit system; };
shell = import ./shell.nix { inherit agenix pkgs; };