(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 { in {
# TODO: migrate to another nix file. # TODO: migrate to another nix file.
# packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec { packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
# name = "my-shell"; name = "my-shell";
# src = ./.; src = ./.;
#
# nativeBuildInputs = [ nativeBuildInputs = [
# ags.packages.${system}.default ags.packages.${system}.default
# pkgs.wrapGAppsHook pkgs.wrapGAppsHook
# pkgs.gobject-introspection pkgs.gobject-introspection
# ]; ];
#
# buildInputs = with astal.packages.${system}; [ buildInputs = with astal.packages.${system}; [
# astal3 astal3
# astal-hyprland io
# io apps
# # hyprland battery
# ]; bluetooth
# installPhase = '' hyprland
# mkdir -p $out/bin mpris
# ags bundle app.ts $out/bin/${name} network
# ''; notifd
# }; powerprofiles
tray
wireplumber
];
installPhase = ''
mkdir -p $out/bin
ags bundle app.ts $out/bin/${name}
'';
};
# END TODO # END TODO
nixosConfigurations = { nixosConfigurations = {
+13 -6
View File
@@ -1,8 +1,15 @@
{ pkgs, ... }: { { pkgs, inputs, system, ... }: {
environment.systemPackages = with pkgs; [ # environment.systemPackages = with pkgs; [
astal.io # astal.io
astal.gjs # astal.gjs
astal.hyprland # astal.hyprland
astal.apps # 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
]; ];
} }