1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 08:57:46 +00:00

nix: init tooling (#5)

Co-authored-by: Bloxx12 <blox@blox>
This commit is contained in:
bloxx12 2025-05-13 16:09:50 +00:00 committed by GitHub
parent 8285210557
commit 0d91c57d99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 87 additions and 0 deletions

22
flake.nix Normal file
View file

@ -0,0 +1,22 @@
{
description = "Superfreq";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
systems.url = "github:nix-systems/default-linux";
};
outputs = inputs @ {
self,
nixpkgs,
systems,
}: let
inherit (nixpkgs) lib;
eachSystem = lib.genAttrs (import inputs.systems);
pkgsFor = eachSystem (system: nixpkgs.legacyPackages.${system});
in {
devShells = eachSystem (system: {
default = pkgsFor.${system}.callPackage ./nix/shell.nix {};
});
};
}