aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe <me@christine.website>2022-12-29 15:26:22 -0500
committerXe <me@christine.website>2022-12-29 15:26:22 -0500
commit1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e (patch)
treea703251de6001be3879e50446fa842ac63d64a14
parent8f74c3629a846c020dbccf77d49c7c792fb559ad (diff)
downloadx-1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e.tar.xz
x-1f28519a4c354e32fe6e0f8797a3d6765e1b7a3e.zip
move nixos modules here
Signed-off-by: Xe <me@christine.website>
-rw-r--r--flake.nix60
1 files changed, 30 insertions, 30 deletions
diff --git a/flake.nix b/flake.nix
index a89f5d6..0a78c13 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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" ];
- })
- ];
- };
- });
+ };
}