cleanup of useless pkgs

This commit is contained in:
biscuit
2025-05-14 06:30:50 -05:00
parent 4ed41b1279
commit 2232374d24
+1 -26
View File
@@ -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 ];
};