aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-02-02 22:19:20 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-02-02 22:19:20 +0530
commita1de7769d8471f7343337a89fc37b4ce30d6725f (patch)
treeca52f3586d32f3946a302023b2c7ecb10eb79866 /flake.nix
parent6b76eb48066a5fb0c45b108fd3eed1743029da4f (diff)
misc: Add support for NixOS
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..7a068b5
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,23 @@
+{
+ inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+
+ outputs = { self, nixpkgs, ... }: let
+ pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
+ in {
+ devShells.x86_64-linux.default = pkgs.mkShell {
+ buildInputs = with pkgs; [
+ clang.cc
+ lld
+ nasm
+ cmake
+ ninja
+
+ grub2
+ xorriso
+
+ qemu_kvm
+ clang-tools
+ ];
+ };
+ };
+}