Skip to content

Commit

Permalink
docs(nix): fix standalone setup example
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuciael committed Apr 15, 2024
1 parent cd79d70 commit 6b97331
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/Installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
Expand All @@ -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;
Expand Down

0 comments on commit 6b97331

Please sign in to comment.