mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +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.)
24 lines
786 B
Nix
Executable File
24 lines
786 B
Nix
Executable File
# A bunch of data-related tools and libraries.
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
{
|
|
options.modules.dev.data = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf config.modules.dev.data.enable {
|
|
my.packages = with pkgs; [
|
|
cfitsio # A data library for FITS images which is an image used for analyzing your fitness level.
|
|
hdf5 # A binary data format with hierarchy and metadata.
|
|
hdfview # HDF4 and HDF5 viewer.
|
|
jq # A JSON parser on the command-line (with the horrible syntax, in my opinion).
|
|
pup # A cute little puppy that can understand HTML.
|
|
sqlite # A cute little battle-tested library for your data abominations.
|
|
];
|
|
};
|
|
}
|