Create initial interface app

This commit is contained in:
Nettika 2025-10-09 13:54:29 -07:00
parent 5210c0a5e6
commit 2e1cd7dc16
9 changed files with 3100 additions and 6 deletions

40
flake.nix Normal file
View file

@ -0,0 +1,40 @@
{
description = "Jukebox";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in {
# nixosConfigurations.jukebox = nixpkgs.lib.nixosSystem {
# inherit system;
# modules = [ ./system/configuration.nix ];
# };
packages.jukebox = pkgs.rustPlatform.buildRustPackage {
name = "jukebox";
src = ./app;
cargoLock.lockFile = ./app/Cargo.lock;
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
atkmm
cairo
cargo
gdk-pixbuf
glib
gtk3
just
openscad-unstable
openssl
pango
pkg-config
rustc
rustPlatform.bindgenHook
webkitgtk_4_1
xdotool
];
};
});
}