mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-01 13:12:35 +02:00
docs(nix): fix standalone setup example
This commit is contained in:
parent
cd79d7012d
commit
6b9733172a
1 changed files with 7 additions and 1 deletions
|
@ -139,6 +139,12 @@ To use this theme in a standalone setup, a bare-minimum configuration would be a
|
|||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
nixosConfigurations."default" = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs = {
|
||||
# Pass system and inputs to the configuration.nix file
|
||||
inherit system inputs;
|
||||
};
|
||||
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
|
@ -147,7 +153,7 @@ To use this theme in a standalone setup, a bare-minimum configuration would be a
|
|||
}
|
||||
```
|
||||
```nix:configuration.nix
|
||||
{ config, pkgs, lib, inputs, ... }: {
|
||||
{ config, pkgs, lib, inputs, system, ... }: {
|
||||
|
||||
boot.loader.grub = rec {
|
||||
theme = inputs.distro-grub-themes.packages.${system}.<theme_name>-grub-theme;
|
||||
|
|
Loading…
Add table
Reference in a new issue