nixos-config/modules/dev/go.nix
Gabriel Arazas ef12c29f36 Update the Nix config
A bunch of minor updates here, a bunch of minor changes there.
All of the Nix changes is here for all the world to see.
2020-10-07 06:56:04 +08:00

20 lines
444 B
Nix
Executable File

# Go, go, Golang coders!
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.dev.go = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.dev.go.enable {
my.packages = with pkgs; [
delve # Wait, Go doesn't have a proper debugger?
go # The other zoomer proglang (READ: proglang is a zoomer term for programming language).
];
};
}