This commit is contained in:
Oskar Wickström
2024-08-21 16:47:54 +02:00
commit 50b890a226
9 changed files with 599 additions and 0 deletions

34
flake.nix Normal file
View File

@@ -0,0 +1,34 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};
outputs =
{
self,
systems,
nixpkgs,
}:
let
eachSystem = nixpkgs.lib.genAttrs (import systems);
in
{
devShells = eachSystem (
system:
let
pkgs = (import nixpkgs { inherit system; });
in
{
default = pkgs.mkShell {
packages = [
pkgs.live-server
pkgs.pandoc
];
};
}
);
};
}