From 6289d4d1b4892b778feab221f33dfa7248455f1e Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 10 Aug 2024 18:31:54 +0200 Subject: [PATCH] add .remoteenv --- .gitignore | 1 + .remoteenv | 5 +++++ .remoteignore.toml | 15 +++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 .remoteenv create mode 100644 .remoteignore.toml diff --git a/.gitignore b/.gitignore index 21ac22e..15fb311 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ result* /configuration.nix /.direnv/ +/.remote.toml diff --git a/.remoteenv b/.remoteenv new file mode 100644 index 0000000..9af104c --- /dev/null +++ b/.remoteenv @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# used by the `remote-exec` package +eval "$(nix print-dev-env .#default)" +# echo Entered "$(hostname --fqdn)" # just why systemd-networkd... +echo Entered "$(hostname)" diff --git a/.remoteignore.toml b/.remoteignore.toml new file mode 100644 index 0000000..21845b5 --- /dev/null +++ b/.remoteignore.toml @@ -0,0 +1,15 @@ +# used by the `remote-exec` package +[push] +exclude = [] +include = [] + +[pull] +exclude = ["*"] + +[both] +exclude = [ + ".remote.toml", + ".direnv", + "result*", +] +include = []