aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorXander <xander@icth.xyz>2023-06-28 17:11:10 +0200
committerXander <xander@icth.xyz>2023-06-28 17:11:10 +0200
commitebc6738ad4265db0b2b8d1b5c653d8f9597ff335 (patch)
treee836f85d8135f766175297e44b718d64d84a3ae7 /flake.nix
parent505b7ff80f2270756ea8f1f095a8092e68fe0628 (diff)
downloadats-os-ebc6738ad4265db0b2b8d1b5c653d8f9597ff335.tar.xz
ats-os-ebc6738ad4265db0b2b8d1b5c653d8f9597ff335.zip
Add license
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..4eb04cd
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,21 @@
+{
+ description = "A basic flake with a shell";
+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ inputs.flake-utils.url = "github:numtide/flake-utils";
+
+
+ outputs = { self, nixpkgs, flake-utils}:
+ flake-utils.lib.eachDefaultSystem (system:
+ let
+ pkgs = import nixpkgs {
+ inherit system;
+ };
+ in
+ {
+ devShells.default = pkgs.mkShell {
+ packages = with pkgs; [ nasm grub2 ];
+ buildInputs = with pkgs; [ libisoburn ];
+ };
+ });
+}
+