mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-02 21:52:34 +02:00
docs(nix): add file names using code titles
This commit is contained in:
parent
f57459404f
commit
d2ff7f7653
1 changed files with 6 additions and 10 deletions
|
@ -99,9 +99,8 @@ sudo eopkg install grub-customizer
|
|||
```
|
||||
|
||||
### NixOS module
|
||||
To use this theme as a NixOS module, a bare-minimum configuration would be as follows:
|
||||
`flake.nix`:
|
||||
```nix
|
||||
To use this theme as a NixOS module, a bare-minimum configuration would be as follows:
|
||||
```nix:flake.nix
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
|
@ -119,8 +118,7 @@ To use this theme as a NixOS module, a bare-minimum configuration would be as fo
|
|||
}
|
||||
```
|
||||
|
||||
`configuration.nix`:
|
||||
```nix
|
||||
```nix:configuration.nix
|
||||
{ config, pkgs, lib, ... }: {
|
||||
distro-grub-themes = {
|
||||
enable = true;
|
||||
|
@ -130,9 +128,8 @@ To use this theme as a NixOS module, a bare-minimum configuration would be as fo
|
|||
```
|
||||
|
||||
### Standalone setup
|
||||
To use this theme in a standalone setup, a bare-minimum configuration would be as follows:
|
||||
`flake.nix`:
|
||||
```nix
|
||||
To use this theme in a standalone setup, a bare-minimum configuration would be as follows:
|
||||
```nix:flake.nix
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
|
@ -148,8 +145,7 @@ To use this theme in a standalone setup, a bare-minimum configuration would be a
|
|||
};
|
||||
}
|
||||
```
|
||||
`configuration.nix`:
|
||||
```nix
|
||||
```nix:configuration.nix
|
||||
{ config, pkgs, lib, inputs, ... }: {
|
||||
|
||||
boot.loader.grub = rec {
|
||||
|
|
Loading…
Add table
Reference in a new issue