remove unused variables

This commit is contained in:
Valentin Gagarin 2025-06-11 15:35:08 +02:00
parent 63f8bb6bda
commit 3134b2fea8
2 changed files with 0 additions and 10 deletions

View file

@ -1,16 +1,8 @@
{
lib,
pkgs,
...
}:
{
REPO_DIR = "/run/fedipanel/flake";
# explicitly use nix, as e.g. lix does not have configurable-impure-env
BIN_PATH = lib.makeBinPath [
# explicitly use nix, as e.g. lix does not have configurable-impure-env
pkgs.nix
# nixops error maybe due to our flake git hook: executing 'git': No such file or directory
pkgs.git
];
}

View file

@ -240,8 +240,6 @@ if user_settings_file is not None:
# The correct thing to do here would be using a helper function such as with `get_secret()` that will catch the exception and explain what's wrong and where to put the right values.
# Replacing the `USER_SETTINGS_FILE` mechanism following the comment there would probably be a good thing.
# PATH to expose to launch button
bin_path=env['BIN_PATH']
# path of the root flake to trigger nixops from, see #94.
# to deploy this should be specified, for dev just use a relative path.
repo_dir = env["REPO_DIR"]