Created
April 7, 2022 06:49
-
-
Save aakropotkin/b161240f5434453290d8dd89888ced3c to your computer and use it in GitHub Desktop.
conky-nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Look upon my works, ye Mighty, and despair! | |
# Nothing beside remains. | |
# Round the day of that colossal wreck, boundless and bare the lone and level sands stretch far away. | |
# - P.B.Shelley | |
# | |
# This pipe has come to drain your harbor so that we might play in the sand. | |
jobs: | |
- name: nixly-job | |
plan: | |
- task: hello-world-task | |
config: | |
platform: linux | |
image_resource: | |
type: registry-image | |
source: | |
repository: nixos/nix | |
outputs: | |
- name: the-artifact | |
run: | |
path: sh | |
args: | |
- -cx | |
- | | |
ls -l . | |
nix --experimental-features 'nix-command flakes' \ | |
shell --impure nixpkgs#bashInteractive -c bash -c '\ | |
echo "hello from another step!"' > the-artifact/message; | |
- task: read-the-artifact | |
config: | |
platform: linux | |
image_resource: | |
type: registry-image | |
source: | |
repository: busybox | |
inputs: | |
- name: the-artifact | |
run: | |
path: sh | |
args: | |
- -cx | |
- | | |
ls -l . | |
cat the-artifact/message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment