(nix) astal
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user