summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix29
1 files changed, 26 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index d34c09d..5d2503f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,6 +18,7 @@
pkg-config
ninja
vala
+ wayland
];
buildInputs = [pkgs.glib] ++ inputs;
pname = name;
@@ -29,25 +30,47 @@
packages.${system} = rec {
default = astal;
astal = with pkgs; lib "astal" ./core [gtk3 gtk-layer-shell];
+ apps = with pkgs; lib "astal-apps" ./lib/apps [json-glib];
+ auth = with pkgs; lib "astal-auth" ./lib/auth [pam];
+ battery = lib "astal-battery" ./lib/battery [];
+ bluetooth = lib "astal-bluetooth" ./lib/bluetooth [];
+ hyprland = with pkgs; lib "astal-hyprland" ./lib/hyprland [json-glib];
+ mpris = with pkgs; lib "astal-mpris" ./lib/mpris [gvfs json-glib];
+ network = with pkgs; lib "astal-network" ./lib/network [networkmanager];
+ notifd = with pkgs; lib "astal-notifd" ./lib/notifd [json-glib gdk-pixbuf];
+ powerprofiles = with pkgs; lib "astal-power-profiles" ./lib/powerprofiles [json-glib];
+ river = with pkgs; lib "astal-river" ./lib/river [json-glib];
+ tray = with pkgs; lib "astal-tray" ./lib/tray [gtk3 gdk-pixbuf libdbusmenu-gtk3 json-glib];
+ wireplumber = lib "astal-wireplumber" ./lib/wireplumber [pkgs.wireplumber];
};
devShells.${system} = let
- inputs = with pkgs; [
+ buildInputs = with pkgs; [
wrapGAppsHook
gobject-introspection
meson
pkg-config
ninja
vala
+ gtk3
+ gtk-layer-shell
+ json-glib
+ pam
+ gvfs
+ networkmanager
+ gdk-pixbuf
+ wireplumber
+ libdbusmenu-gtk3
+ wayland
(lua.withPackages (ps: [ps.lgi]))
gjs
];
in {
default = pkgs.mkShell {
- inherit inputs;
+ inherit buildInputs;
};
astal = pkgs.mkShell {
- inputs = inputs ++ [self.packages.${system}.astal];
+ buildInputs = buildInputs ++ (builtins.attrValues self.packages.${system});
};
};
};