diff options
| author | Xe <me@christine.website> | 2022-12-29 15:26:22 -0500 |
|---|---|---|
| committer | Xe <me@christine.website> | 2022-12-29 15:26:22 -0500 |
| commit | 1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e (patch) | |
| tree | a703251de6001be3879e50446fa842ac63d64a14 | |
| parent | 8f74c3629a846c020dbccf77d49c7c792fb559ad (diff) | |
| download | x-1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e.tar.xz x-1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e.zip | |
move nixos modules here
Signed-off-by: Xe <me@christine.website>
| -rw-r--r-- | flake.nix | 60 |
1 files changed, 30 insertions, 30 deletions
@@ -92,6 +92,35 @@ within-website = copyFile { pname = "within.website"; }; }; + devShells.default = pkgs.mkShell { + buildInputs = with pkgs; [ + go + gopls + gotools + go-tools + gomod2nix.packages.${system}.default + python + + pkg-config + libaom + libavif + sqlite-interactive + + cargo + cargo-watch + rustfmt + rust-analyzer + wasmtime + binaryen + wabt + bloaty + (rust-bin.stable.latest.default.override { + extensions = [ "rust-src" ]; + targets = [ "wasm32-wasi" ]; + }) + ]; + }; + }) // { nixosModules = { aegis = { config, lib, pkgs, ... }: with lib; @@ -274,34 +303,5 @@ }; }; }; - - devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [ - go - gopls - gotools - go-tools - gomod2nix.packages.${system}.default - python - - pkg-config - libaom - libavif - sqlite-interactive - - cargo - cargo-watch - rustfmt - rust-analyzer - wasmtime - binaryen - wabt - bloaty - (rust-bin.stable.latest.default.override { - extensions = [ "rust-src" ]; - targets = [ "wasm32-wasi" ]; - }) - ]; - }; - }); + }; } |
