summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-01-17 14:48:48 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-01-17 14:48:48 +0200
commitad96e0a669ee99359d2a3fbc72793cfde4b60ce5 (patch)
tree8dabf56d32128c3c525181e04489cd95a3945620 /flake.nix
parent24e3fd4b0aad51773cd8aaf5c53b30555af8bc2e (diff)
downloadradio-ad96e0a669ee99359d2a3fbc72793cfde4b60ce5.tar.zst
Biome format
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..20ddff5
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,28 @@
+{
+ description = "Relesoft Radio";
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs/release-25.11";
+ };
+
+ outputs =
+ { self, nixpkgs }:
+ let
+ supportedSystems = [
+ "x86_64-linux"
+ "aarch64-linux"
+ ];
+ forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
+ nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
+ in
+ {
+ devShells = forAllSystems (
+ system:
+ let
+ pkgs = nixpkgsFor.${system};
+ in
+ {
+ default = pkgs.mkShell { buildInputs = with pkgs; [ biome ]; };
+ }
+ );
+ };
+}