mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
49592d7f01
I also fixed the long-time occuring error when using the newest version of the channel (or the unstable one). It turns out to be a simple type error with the `my.user' attribute. (To be honest the error messages are quite horrible.) On another note, I also accidentally bricked my NixOS setup after a garbage collection and a horrible update. The breakage includes not being able to use any of the builtin tools of Nix (e.g., nix, nix-env, nixos-rebuild) due to a shared library error that has been garbage collected. Which means I have to reinstall it. (I seem to have a talent for breaking things, if only I'm paid for it.)
33 lines
1.1 KiB
Nix
Executable File
33 lines
1.1 KiB
Nix
Executable File
# 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 {
|
|
my.packages = with pkgs; [
|
|
caddy # THE ULTIMATE HTTPS/2 SERVER FOR 'YER GOLFIN' SESSIONS!!!
|
|
cmake # Yo, I heard you like Makefiles.
|
|
cookiecutter # A project scaffolding tool.
|
|
gnumake # Make your life easier with GNU Make.
|
|
hyperfine # You shouldn't be feel just fine with your programs...
|
|
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.
|
|
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;
|
|
};
|
|
};
|
|
}
|