cleanup of useless pkgs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user