Closed madfanat closed 1 month ago
If I remove the overlay and add inputs.hyprpanel.packages.${pkgs.system}.default
to my home.nix package list, I get
UPD. If I remove
programs.hyprpanel = {
enable = true;
};
from my home.nix it builds with no errors. But the programs still can't be run via ags
for some reason.
Describe the bug I added
hyprpanel.url = “github:Jas-SinghFSU/HyprPanel”;
andnixpkgs.overlays = [ inputs.hyprpanel.overlay ];
to my flake.nix andpkgs.hyprpanel
to my home.nix package list. The configuration builds without error, but I can't run ags because for some reason it's not installed. If it is possible, I would like to install the package in the usual flakes way (via something likeimports = [ inputs.hyprpanel.homeManagerModules.default ];
) instead of using overlays, but I have tried all the common attributes and didn't get it working. Please help me to find the correct attributes/path to use.flake.nix
```nix { description = "NixOS configuration"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; ironbar.url = "github:JakeStanger/ironbar"; hyprpanel.url = "github:Jas-SinghFSU/HyprPanel"; catppuccin.url = "github:catppuccin/nix"; }; outputs = inputs@{ nixpkgs, home-manager, ... }: { nixosConfigurations = { nixos = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.tim = import ./home.nix; home-manager.backupFileExtension = "old"; home-manager.extraSpecialArgs = { inherit inputs; }; nixpkgs.overlays = [ inputs.hyprpanel.overlay ]; } ]; }; }; }; } ```To Reproduce
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
toinputs = { ... }
in flake.nixnixpkgs.overlays = [ inputs.hyprpanel.overlay ];
to the modules configuration in flake.nixpkgs.hyprpanel
tohome.packages = [ ... ]
in home.nixExpected behavior Bar runs with the
ags
command.Desktop