nixos-config/modules/dev/base.nix

33 lines
1.1 KiB
Nix
Raw Normal View History

2020-08-06 15:35:49 +00:00
# The utmost requirements for a development workflow.
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.dev.base = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.dev.base.enable {
2020-08-16 08:33:44 +00:00
my.packages = with pkgs; [
caddy2 # THE ULTIMATE HTTPS/2 SERVER FOR 'YER GOLFIN' SESSIONS!!!
cmake # Yo, I heard you like Makefiles.
2020-08-06 15:35:49 +00:00
cookiecutter # A project scaffolding tool.
gnumake # Make your life easier with GNU Make.
hyperfine # You shouldn't be feel just fine with your programs...
2020-09-07 10:36:02 +00:00
nixfmt # Formatter for uniform Nix code.
stow # Build your symlink farm on the other side of the country, er, filesystem.
tldr # What manuals should include.
2020-08-06 15:35:49 +00:00
universal-ctags # Enable fast traveling to your code (assuming written in a supported language).
];
# Augment your shell with automatic environment variables loading and unloading.
my.home.programs = {
direnv.enable = true;
fish.enable = true;
};
2020-08-06 15:35:49 +00:00
};
}