Hello all
Has anyone followed the Hyprpanel instructions on the corresponding website recently? I get stuck with the “{$host}” variable not being defined. This is on a fresh install. So I don’t know if I’m missing anything as this is my first time trying out NixOS.
Share your config and the error.
This is all that is in my /etc/nix/flake.nix right now
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # this can be stable, but if it is do not make hyprpanel follow it
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
};
# ...
outputs = inputs @ {
nixpkgs,
...
}: let
system = "x86_64-linux"; # change to whatever your system should be
in {
nixosConfigurations."${host}" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit system;
inherit inputs;
};
modules = [
{nixpkgs.overlays = [inputs.hyprpanel.overlay];}
];
};
};
}
When I go to build my configuration, I get the error that ‘host’ is not defined.
This is from following the instructions on the HyprPanel website Hyprpanel NixOS install
Use your actual host name, not "${host}"
.
That solved it. Thank you very much.