dobutterfliescry.net/flake.nix

38 lines
813 B
Nix
Raw Normal View History

2025-07-28 23:14:35 +10:00
# Template: https://nixos-and-flakes.thiscute.world/development/intro
{
description = "Dev Shell for dobutterfliescry.net";
inputs = {
2025-08-06 18:58:10 +10:00
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
2025-07-28 23:14:35 +10:00
};
2025-08-06 18:58:10 +10:00
outputs = {
nixpkgs,
nixpkgs-unstable,
...
}: let
2025-07-28 23:14:35 +10:00
system = "x86_64-linux";
2025-08-06 18:58:10 +10:00
pkgs = import nixpkgs {
inherit system;
};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
};
2025-07-28 23:14:35 +10:00
in {
2025-08-06 18:58:10 +10:00
devShells."${system}".default = pkgs.mkShell {
packages = [
# dev local server
pkgs.simple-http-server-http-server
2025-08-06 17:11:45 +10:00
2025-08-06 18:58:10 +10:00
# css baking
pkgs-unstable.sass
# image baking (from .svg)
pkgs.imagemagick
];
2025-07-28 23:14:35 +10:00
2025-08-06 18:58:10 +10:00
shell = "${pkgs.bash}/bin/bash";
};
2025-07-28 23:14:35 +10:00
};
}