diff options
| author | Rosa <rosaontheweb@proton.me> | 2026-05-07 17:55:04 -0400 |
|---|---|---|
| committer | Rosa <rosaontheweb@proton.me> | 2026-05-07 17:55:04 -0400 |
| commit | 710bfe5ddb769d9c6f15497928638f1aed3bc45a (patch) | |
| tree | a96ba855b80c4c962d0a0f4f640ac476df2880ec /flake.nix | |
file that will sit on there until i make an actual website
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b875fd9 --- /dev/null +++ b/flake.nix @@ -0,0 +1,31 @@ +{ + description = "Dev flake for a simple static website."; + inputs = { + flake-utils.url = "github:numtide/flake-utils"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + }; + + outputs = + { + self, + flake-utils, + nixpkgs, + }: + flake-utils.lib.eachDefaultSystem ( + system: + let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShellNoCC { + nativeBuildInputs = with pkgs; [ + just + lighttpd + vscode-langservers-extracted + ]; + }; + + formatter = pkgs.nixfmt; + } + ); +} |
