flakes/markdown/flake.nix
2023-10-31 21:49:07 +01:00

23 lines
530 B
Nix

{
description = "A template flake for editing markdown files (helix on system required)";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
devShell.x86_64-linux = pkgs.mkShell rec {
name = "markdown";
packages = with pkgs; [
marksman
];
shellHook = ''export PS1="[\u@markdown:\W]\$ "'';
};
};
}