2023-03-25 12:43:23 +02:00
|
|
|
{
|
2023-04-03 21:41:49 +03:00
|
|
|
nixConfig = {
|
|
|
|
trusted-substituters = "https://cache.nixos.org/";
|
|
|
|
trusted-public-keys = "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=";
|
|
|
|
extra-experimental-features = "nix-command flakes";
|
|
|
|
};
|
2024-11-23 21:40:51 +02:00
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
2024-10-10 05:13:11 +03:00
|
|
|
|
2024-10-10 05:00:02 +03:00
|
|
|
outputs =
|
2024-10-10 05:13:11 +03:00
|
|
|
{ self, nixpkgs }:
|
|
|
|
let
|
|
|
|
mkShell =
|
|
|
|
pkgs:
|
|
|
|
pkgs.mkShellNoCC {
|
2024-10-10 05:00:02 +03:00
|
|
|
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
|
|
|
packages = with pkgs; [
|
|
|
|
hugo
|
|
|
|
brotli
|
|
|
|
zopfli
|
|
|
|
parallel
|
|
|
|
dart-sass
|
|
|
|
];
|
|
|
|
};
|
2024-10-10 05:13:11 +03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.x86_64-linux.default = mkShell (import nixpkgs { system = "x86_64-linux"; });
|
|
|
|
devShells.aarch64-linux.default = mkShell (import nixpkgs { system = "aarch64-linux"; });
|
|
|
|
};
|
2023-03-25 12:43:23 +02:00
|
|
|
}
|