blob: b469aa4c76f4504038cba5bb2c3d2fe481a9bbec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ config, pkgs, languages, ... }:
{
imports =
(if languages.beam then [ ./beam.nix ] else []) ++
(if languages.c then [ ./c.nix ] else []) ++
(if languages.asm then [ ./asm.nix ] else []) ++
(if languages.go then [ ./go.nix ] else []) ++
(if languages.javascript then [ ./javascript.nix ] else []) ++
(if languages.lua then [ ./lua.nix ] else []) ++
(if languages.python then [ ./python.nix ] else []) ++
(if languages.rust then [ ./rust.nix ] else []) ++
(if languages.zig then [ ./zig.nix ] else []);
}
|