cleanup of useless pkgs
This commit is contained in:
@@ -28,44 +28,19 @@
|
|||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
hyprpanelOverlay = self: super: {
|
|
||||||
hyprpanel = super.callPackage hyprpanel { };
|
|
||||||
};
|
|
||||||
in {
|
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 = {
|
nixosConfigurations = {
|
||||||
biscuit = lib.nixosSystem {
|
biscuit = lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs system; };
|
specialArgs = { inherit inputs system; };
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/configuration.nix
|
./nixos/configuration.nix
|
||||||
{nixpkgs.overlays = [ inputs.hyprpanel.overlay ];}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
biscuit = home-manager.lib.homeManagerConfiguration {
|
biscuit = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = import nixpkgs {
|
inherit pkgs;
|
||||||
inherit system;
|
|
||||||
overlay = [ inputs.hyprpanel.overlay ];
|
|
||||||
};
|
|
||||||
extraSpecialArgs = { inherit inputs system; };
|
extraSpecialArgs = { inherit inputs system; };
|
||||||
modules = [ ./home-manager/home.nix ];
|
modules = [ ./home-manager/home.nix ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user