Upgrade NixOS system (and/or home-manager) in the background, with notification support
Find a file
Evie Litherland-Smith b48d53fa2a Add README content, add example/demo script
Fix setting license in pyproject.toml correctly

Point to main script in pyproject to run CLI
2024-05-26 10:35:21 +01:00
src/nix_background_upgrade Add README content, add example/demo script 2024-05-26 10:35:21 +01:00
tests Initial commit: Add project structure and boilerplate 2024-05-26 09:26:55 +01:00
.gitignore Initial commit: Add project structure and boilerplate 2024-05-26 09:26:55 +01:00
.pre-commit-config.yaml Add dev packages, pre-commit hooks 2024-05-26 10:06:30 +01:00
flake.lock Initial commit: Add project structure and boilerplate 2024-05-26 09:26:55 +01:00
flake.nix Add dev packages, pre-commit hooks 2024-05-26 10:06:30 +01:00
LICENSE Update poetry.lock, add LICENSE file 2024-05-26 09:48:31 +01:00
poetry.lock Add dev packages, pre-commit hooks 2024-05-26 10:06:30 +01:00
pyproject.toml Add README content, add example/demo script 2024-05-26 10:35:21 +01:00
README.md Add README content, add example/demo script 2024-05-26 10:35:21 +01:00

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.