Skip to content

Commit

Permalink
flake: switch to flake-utils and treefmt-nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrumplex committed Dec 6, 2024
2 parents ea93611 + 65aa7df commit 096266e
Show file tree
Hide file tree
Showing 20 changed files with 7,773 additions and 190 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check formatting
run: |
nix fmt -- --check
nix fmt -- --ci
6 changes: 3 additions & 3 deletions README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ is to add the input `github:nix-community/nixpkgs-xr` to your flake
and import the convenient NixOS module `nixpkgs-xr.nixosModules.nixpkgs-xr`.
See the example below.

> [!IMPORTANT]
> \[!IMPORTANT\]
> This module adds the Nixpkgs overlay as well as [the binary cache][binary-cache] for this repository.
> If you don't want the binary cache see [manual setup](#manually-setup-flake-overlay) below.
Expand Down Expand Up @@ -84,7 +84,7 @@ Assuming your NixOS configuration is right in your `flake.nix`, you can write th

### Traditional setup

Compatibility for traditional NixOS setups is provided using [flake-compat][flake-compat].
Compatibility for traditional NixOS setups is provided using [flake-compat].
You can just add the following snippet to your configuration:

```nix
Expand All @@ -102,7 +102,7 @@ in
}
```

You can also pin the tarball url using tools like [niv][niv].
You can also pin the tarball url using tools like [niv].

## Packages

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ is to add the input `github:nix-community/nixpkgs-xr` to your flake
and import the convenient NixOS module `nixpkgs-xr.nixosModules.nixpkgs-xr`.
See the example below.

> [!IMPORTANT]
> \[!IMPORTANT\]
> This module adds the Nixpkgs overlay as well as [the binary cache][binary-cache] for this repository.
> If you don't want the binary cache see [manual setup](#manually-setup-flake-overlay) below.
Expand Down Expand Up @@ -84,7 +84,7 @@ Assuming your NixOS configuration is right in your `flake.nix`, you can write th

### Traditional setup

Compatibility for traditional NixOS setups is provided using [flake-compat][flake-compat].
Compatibility for traditional NixOS setups is provided using [flake-compat].
You can just add the following snippet to your configuration:

```nix
Expand All @@ -102,7 +102,7 @@ in
}
```

You can also pin the tarball url using tools like [niv][niv].
You can also pin the tarball url using tools like [niv].

## Packages

Expand Down
Loading

0 comments on commit 096266e

Please sign in to comment.