aboutsummaryrefslogtreecommitdiff
path: root/example/example2.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'example/example2.hcl')
-rw-r--r--example/example2.hcl28
1 files changed, 0 insertions, 28 deletions
diff --git a/example/example2.hcl b/example/example2.hcl
deleted file mode 100644
index 8b56f8a..0000000
--- a/example/example2.hcl
+++ /dev/null
@@ -1,28 +0,0 @@
-job "example2" {
- datacenters = ["dc1"]
- type = "service"
-
- group "example" {
- task "server" {
- driver = "nix2"
-
- config {
- packages = [
- "github:nixos/nixpkgs#python3",
- "github:nixos/nixpkgs#bash",
- "github:nixos/nixpkgs#coreutils",
- "github:nixos/nixpkgs#curl",
- "github:nixos/nixpkgs#nix",
- "github:nixos/nixpkgs#git",
- "github:nixos/nixpkgs#cacert",
- "github:nixos/nixpkgs#strace",
- "github:nixos/nixpkgs#gnugrep",
- "github:nixos/nixpkgs#mount",
- ]
- command = "python3"
- args = [ "-m", "http.server", "8080" ]
- }
- user = "lx"
- }
- }
-}