|
||
---|---|---|
src/nix_background_upgrade | ||
tests | ||
.gitignore | ||
.pre-commit-config.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
Nix Background Upgrade
Upgrade NixOS system (and/or home-manager) in the background, with notification support.
Early stages of development, subject to change and likely not working at the current stage.
Install
Clone the repository and install with pip (or preferred Python packaging system):
git clone https://git.xenia.me.uk/pixelifytica/nix-background-upgrade.git
python3 -m pip install ./nix-background-upgrade
For development
Project uses Poetry to manage dependencies.
Install Poetry (see documentation for more details), for example using pipx
:
pipx install poetry
Then install project using poetry
:
poetry install
Python code is formatted using black and isort.
pre-commit
pre-commit is used to ensure formatting of new/changed files. Install pre-commit hooks with:
pre-commit install --install-hooks
Nix Flake
Project provides a Nix flake.nix
to get up and running quickly.