bonfire/README.md

56 lines
1.8 KiB
Markdown
Raw Normal View History

2023-12-20 13:56:49 +05:00
<p align="center">
<a href="https://github.com/L-Nafaryus/bonfire">
<img src="https://raw.githubusercontent.com/L-Nafaryus/bonfire/master/etc/bonfire-logo.png" width="500px" alt="bonfire-logo"/>
</a>
</p>
2023-12-15 19:49:42 +05:00
2023-12-20 13:56:49 +05:00
<p align="center">
<img src="https://img.shields.io/badge/nix%20flake-gray.svg?logo=nixos" alt="nix-flake"/>
<a href="https://bonfire.cachix.org"><img src="https://img.shields.io/badge/cachix-bonfire-orange.svg" alt="bonfire-cachix" /></a>
</p>
<p align="center">
<strong><em>Lit another Nix derivation</em></strong>
</p>
2023-12-15 19:49:42 +05:00
> This is a private configuration and experiment with Nix and NixOS. Formally
> it's a more than just a dotfiles in cause of packages, modules, templates and
> etc. Discover the current repository on your own risk.
2023-12-20 13:56:49 +05:00
# Hints
* Update and push inputs:
```sh
nix flake update
nix flake archive --json \
| jq -r '.path,(.inputs|to_entries[].value.path)' \
| cachix push bonfire
```
* Build and push package:
```sh
nix build --json .#package \
| jq -r '.[].outputs | to_entries[].value' \
| cachix push bonfire
```
* Rebuild system with git submodules:
```sh
nixos-rebuild switch --flake ".?submodules=1#astora"
```
* Rebuild remote system from local system with git submodules:
```sh
nixos-rebuild switch --flake ".?submodules=1#catarina" --build-host l-nafaryus@astora --target-host l.nafaryus@catarina --use-remote-sudo
```
2023-12-20 13:56:49 +05:00
# License
**bonfire** is licensed under the [MIT License](LICENSE).
> MIT license does not apply to the packages built by **Nix**, merely to the files
> in this repository. It also might not apply to patches included in **Nix**, which
> may be derivative works of the packages to which they apply. The aforementioned
> artifacts are all covered by the licenses of the respective packages.