diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59dfe0e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Nix +/result +*qcow* +.direnv* diff --git a/flake.lock b/flake.lock index 5f0c66a..0cb95d8 100644 --- a/flake.lock +++ b/flake.lock @@ -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", diff --git a/flake.nix b/flake.nix index 54bc911..b9f8499 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };