summaryrefslogtreecommitdiffhomepage
path: root/flake.nix
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-10-19 11:12:21 +0900
committernsfisis <nsfisis@gmail.com>2025-10-19 11:12:21 +0900
commitfea67022a933d8c55b89c1c96bc3a62661c1fd6e (patch)
treeecd60d2aee0fc8f8af2bbd93b30a7c5e87825e06 /flake.nix
parent21036e75a699a01a4b0383f40e1c96dc0a11560a (diff)
downloadphpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.tar.gz
phpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.tar.zst
phpstudy-180-slides-fea67022a933d8c55b89c1c96bc3a62661c1fd6e.zip
first commit
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..3bc1509
--- /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.systems.url = "github:nix-systems/default";
+ inputs.flake-utils = {
+ url = "github:numtide/flake-utils";
+ inputs.systems.follows = "systems";
+ };
+
+ outputs =
+ { nixpkgs, flake-utils, ... }:
+ flake-utils.lib.eachDefaultSystem (
+ system:
+ let
+ pkgs = nixpkgs.legacyPackages.${system};
+ in
+ {
+ devShells.default = pkgs.mkShell { packages = [ pkgs.typst ]; };
+ }
+ );
+}