(nix) astal

This commit is contained in:
biscuit
2025-05-15 19:14:42 -05:00
parent 861afe8e83
commit bb04a5d1fd
2 changed files with 42 additions and 27 deletions
+29 -21
View File
@@ -28,27 +28,35 @@
in {
# TODO: migrate to another nix file.
# 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
# astal-hyprland
# io
# # hyprland
# ];
# installPhase = ''
# mkdir -p $out/bin
# ags bundle app.ts $out/bin/${name}
# '';
# };
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
apps
battery
bluetooth
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
];
installPhase = ''
mkdir -p $out/bin
ags bundle app.ts $out/bin/${name}
'';
};
# END TODO
nixosConfigurations = {
+13 -6
View File
@@ -1,8 +1,15 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
astal.io
astal.gjs
astal.hyprland
astal.apps
{ pkgs, inputs, system, ... }: {
# environment.systemPackages = with pkgs; [
# astal.io
# astal.gjs
# astal.hyprland
# astal.apps
# ];
environment.systemPackages = [
# inputs.astal.packages.${system}.default
# inputs.astal.packages.${system}.io
# inputs.astal.packages.${system}.gjs
# inputs.astal.packages.${system}.hyprland
# inputs.astal.packages.${system}.apps
];
}