Files
nixos-conf/discord-music-presence/flake.nix
T
2026-06-27 21:36:14 +02:00

31 lines
731 B
Nix

{
description = "Xaiya's packaged packages";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
outputs =
{ self, nixpkgs }:
let
systems = nixpkgs.lib.systems.flakeExposed;
forAllSystems =
function:
nixpkgs.lib.genAttrs systems (
system: function (
import nixpkgs {
inherit system;
config.allowUnfree = true;
}
)
);
in {
packages = forAllSystems (pkgs: {
discord-music-presence = pkgs.callPackage ./pkgs/discord-music-presence.nix { };
});
devShells = forAllSystems (pkgs: {
default = pkgs.callPackage ./shell.nix { };
});
};
}