This commit is contained in:
biscuit
2025-05-16 06:42:25 -05:00
parent 01ac3de3ff
commit 34400702a8
4 changed files with 58 additions and 50 deletions
+44 -44
View File
@@ -33,50 +33,50 @@
pkgs = nixpkgs.legacyPackages.${system};
in {
# TODO: migrate to another nix file.
packages.${system}.default = pkgs.stdenv.mkDerivation {
pname = "marble";
src = ./marble;
dontUnpack = true;
nativeBuildInputs = with pkgs; [
wrapGAppsHook
gobject-introspection
];
buildInputs =
(with astal.packages.${system}; [
astal3
io
apps
battery
bluetooth
hyprland
mpris
network
notifd
powerprofiles
tray
wireplumber
])
++ (with pkgs; [
gjs
]);
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : ${with pkgs;
lib.makeBinPath [
dart-sass
fzf
]}
)
'';
installPhase = ''
mkdir -p $out/bin
install $src $out/bin/marble
'';
}; # END TODO
# packages.${system}.default = pkgs.stdenv.mkDerivation {
# pname = "marble";
# src = ./marble;
# dontUnpack = true;
#
# nativeBuildInputs = with pkgs; [
# wrapGAppsHook
# gobject-introspection
# ];
#
# buildInputs =
# (with astal.packages.${system}; [
# astal3
# io
# apps
# battery
# bluetooth
# hyprland
# mpris
# network
# notifd
# powerprofiles
# tray
# wireplumber
# ])
# ++ (with pkgs; [
# gjs
# ]);
#
# preFixup = ''
# gappsWrapperArgs+=(
# --prefix PATH : ${with pkgs;
# lib.makeBinPath [
# dart-sass
# fzf
# ]}
# )
# '';
#
# installPhase = ''
# mkdir -p $out/bin
# install $src $out/bin/marble
# '';
# }; # END TODO
nixosConfigurations = {
biscuit = lib.nixosSystem {