diff options
Diffstat (limited to 'nix-utils.sh')
-rw-r--r-- | nix-utils.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nix-utils.sh b/nix-utils.sh index 382763f..4c59d0e 100644 --- a/nix-utils.sh +++ b/nix-utils.sh @@ -161,3 +161,13 @@ caller_util_get_script() { echo "$SCRIPT" } + +# +# Container helper functions +# + +# get the configuration.nix path for the container by name +container_conf_path() { + echo /var/lib/containers/$1/etc/nixos/configuration.nix +} + |