File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ description = "NixCon 2025" ;
3
+
4
+ inputs = {
5
+ nixpkgs . url = "github:nixos/nixpkgs/nixos-unstable" ;
6
+
7
+ } ;
8
+
9
+ outputs =
10
+ { self , ... } @inputs :
11
+ with inputs ;
12
+ let
13
+ # System types to support.
14
+ supportedSystems = [
15
+ "x86_64-linux"
16
+ "x86_64-darwin"
17
+ "aarch64-linux"
18
+ "aarch64-darwin"
19
+ ] ;
20
+
21
+ # Helper function to generate an attrset '{ x86_64-linux = f "x86_64-linux"; ... }'.
22
+ forAllSystems = nixpkgs . lib . genAttrs supportedSystems ;
23
+
24
+ # Nixpkgs instantiated for supported system types.
25
+ nixpkgsFor = forAllSystems ( system : import nixpkgs { inherit system ; } ) ;
26
+
27
+ in
28
+ {
29
+ nixosConfigurations = { } ;
30
+
31
+ devShells = forAllSystems (
32
+ system :
33
+ let
34
+ pkgs = nixpkgsFor . ${ system } ;
35
+ in
36
+ {
37
+ default = pkgs . mkShell {
38
+ buildInputs = with pkgs ; [
39
+ just
40
+ nodejs_20
41
+
42
+ ] ;
43
+
44
+ shellHook = ''
45
+ echo "To get startet run `just dev`"
46
+ '' ;
47
+ } ;
48
+ }
49
+ ) ;
50
+
51
+ } ;
52
+ }
You can’t perform that action at this time.
0 commit comments