feat(nix/profiles/graphical): use systemd-resolved systemwide
This commit is contained in:
parent
199236bff8
commit
0d9ce372f5
2 changed files with 5 additions and 4 deletions
5
Justfile
5
Justfile
|
@ -29,6 +29,7 @@ _render_templates:
|
|||
set -ex
|
||||
if ! ip route get 1.1.1.1; then
|
||||
echo No route to WAN. Skipping template rendering...
|
||||
# TODO: detect if DNS is defunct
|
||||
else
|
||||
source $(just -v _get_nix_path {{invocation_directory()}}/nix/variables/versions.nix)
|
||||
nix/scripts/pre-eval-fixed.sh nix/home-manager/profiles/dotfiles/vcsh{.tmpl,}.nix
|
||||
|
@ -91,7 +92,7 @@ update-remote-device devicename target rebuildmode='switch':
|
|||
|
||||
template=nix/os/devices/{{ devicename }}/versions.tmpl.nix
|
||||
outfile=nix/os/devices/{{ devicename }}/versions.nix
|
||||
|
||||
|
||||
if ! test -e ${template}; then
|
||||
template="$(just _DEFAULT_VERSION_TMPL)"
|
||||
fi
|
||||
|
@ -339,7 +340,7 @@ test-connection:
|
|||
#! nix-shell -i zsh
|
||||
#! nix-shell --pure
|
||||
|
||||
while true; do
|
||||
while true; do
|
||||
FAILURE="false"
|
||||
output=$(
|
||||
echo "$(date)\n---"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue