mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-04 14:32: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
|
### NixOS module
|
||||||
To use this theme as a NixOS module, a bare-minimum configuration would be as follows:
|
To use this theme as a NixOS module, a bare-minimum configuration would be as follows:
|
||||||
`flake.nix`:
|
```nix:flake.nix
|
||||||
```nix
|
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
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:configuration.nix
|
||||||
```nix
|
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
distro-grub-themes = {
|
distro-grub-themes = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -130,9 +128,8 @@ To use this theme as a NixOS module, a bare-minimum configuration would be as fo
|
||||||
```
|
```
|
||||||
|
|
||||||
### Standalone setup
|
### Standalone setup
|
||||||
To use this theme in a standalone setup, a bare-minimum configuration would be as follows:
|
To use this theme in a standalone setup, a bare-minimum configuration would be as follows:
|
||||||
`flake.nix`:
|
```nix:flake.nix
|
||||||
```nix
|
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
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:configuration.nix
|
||||||
```nix
|
|
||||||
{ config, pkgs, lib, inputs, ... }: {
|
{ config, pkgs, lib, inputs, ... }: {
|
||||||
|
|
||||||
boot.loader.grub = rec {
|
boot.loader.grub = rec {
|
||||||
|
|
Loading…
Add table
Reference in a new issue