From 2232374d24fd7a76bac77c08f5294ac307e50204 Mon Sep 17 00:00:00 2001 From: biscuit Date: Wed, 14 May 2025 06:30:50 -0500 Subject: [PATCH] cleanup of useless pkgs --- flake.nix | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/flake.nix b/flake.nix index b8caf20..4daae71 100644 --- a/flake.nix +++ b/flake.nix @@ -28,44 +28,19 @@ lib = nixpkgs.lib; system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; - hyprpanelOverlay = self: super: { - hyprpanel = super.callPackage hyprpanel { }; - }; in { - packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec { - name = "my-shell"; - src = ./.; - nativeBuildInputs = [ - ags.packages.${system}.default - pkgs.wrapGAppsHook - pkgs.gobject-introspection - ]; - buildInputs = with astal.packages.${system}; [ - astal3 - io - ]; - installPhase = '' - mkdir -p $out/bin - ags bundle app.ts $out/bin/${name} - ''; - }; - nixosConfigurations = { biscuit = lib.nixosSystem { specialArgs = { inherit inputs system; }; inherit system; modules = [ ./nixos/configuration.nix - {nixpkgs.overlays = [ inputs.hyprpanel.overlay ];} ]; }; }; homeConfigurations = { biscuit = home-manager.lib.homeManagerConfiguration { - pkgs = import nixpkgs { - inherit system; - overlay = [ inputs.hyprpanel.overlay ]; - }; + inherit pkgs; extraSpecialArgs = { inherit inputs system; }; modules = [ ./home-manager/home.nix ]; };