add .remoteenv

This commit is contained in:
Peder Bergebakken Sundt 2024-08-10 18:31:54 +02:00
parent 2f3bcaf124
commit 6289d4d1b4
3 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
result*
/configuration.nix
/.direnv/
/.remote.toml

5
.remoteenv Normal file
View File

@ -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)"

15
.remoteignore.toml Normal file
View File

@ -0,0 +1,15 @@
# used by the `remote-exec` package
[push]
exclude = []
include = []
[pull]
exclude = ["*"]
[both]
exclude = [
".remote.toml",
".direnv",
"result*",
]
include = []