mirror of
https://github.com/AdisonCavani/distro-grub-themes.git
synced 2025-06-02 21:52:34 +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: {
|
outputs = { self, nixpkgs, ... }@inputs: {
|
||||||
nixosConfigurations."default" = nixpkgs.lib.nixosSystem rec {
|
nixosConfigurations."default" = nixpkgs.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
|
specialArgs = {
|
||||||
|
# Pass system and inputs to the configuration.nix file
|
||||||
|
inherit system inputs;
|
||||||
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
|
@ -147,7 +153,7 @@ To use this theme in a standalone setup, a bare-minimum configuration would be a
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
```nix:configuration.nix
|
```nix:configuration.nix
|
||||||
{ config, pkgs, lib, inputs, ... }: {
|
{ config, pkgs, lib, inputs, system, ... }: {
|
||||||
|
|
||||||
boot.loader.grub = rec {
|
boot.loader.grub = rec {
|
||||||
theme = inputs.distro-grub-themes.packages.${system}.<theme_name>-grub-theme;
|
theme = inputs.distro-grub-themes.packages.${system}.<theme_name>-grub-theme;
|
||||||
|
|
Loading…
Add table
Reference in a new issue