mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
Add a module for data-related tools
This commit is contained in:
parent
d01e597918
commit
4aa4f638e1
@ -9,6 +9,9 @@
|
|||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
# Clean up the /tmp directory.
|
||||||
|
boot.cleanTmpDir = true;
|
||||||
|
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||||
@ -80,6 +83,8 @@
|
|||||||
dev = {
|
dev = {
|
||||||
android.enable = true;
|
android.enable = true;
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
|
cc.enable = true;
|
||||||
|
data.enable = true;
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = true;
|
enable = true;
|
||||||
latex.enable = true;
|
latex.enable = true;
|
||||||
@ -166,6 +171,7 @@
|
|||||||
# fds-nur.brl-cad
|
# fds-nur.brl-cad
|
||||||
# fds-nur.hypermail
|
# fds-nur.hypermail
|
||||||
# fds-nur.wikiman
|
# fds-nur.wikiman
|
||||||
|
nur.foo-dogsquared.segno
|
||||||
];
|
];
|
||||||
|
|
||||||
# Setting up the shell environment.
|
# Setting up the shell environment.
|
||||||
|
@ -17,6 +17,7 @@ with lib;
|
|||||||
cookiecutter # A project scaffolding tool.
|
cookiecutter # A project scaffolding tool.
|
||||||
gnumake # Make your life easier with GNU Make.
|
gnumake # Make your life easier with GNU Make.
|
||||||
hyperfine # You shouldn't be feel just fine with your programs...
|
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.
|
stow # Build your symlink farm on the other side of the country, er, filesystem.
|
||||||
tldr # What manuals should include.
|
tldr # What manuals should include.
|
||||||
universal-ctags # Enable fast traveling to your code (assuming written in a supported language).
|
universal-ctags # Enable fast traveling to your code (assuming written in a supported language).
|
||||||
|
23
modules/dev/data.nix
Normal file
23
modules/dev/data.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# 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.
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
@ -5,6 +5,7 @@
|
|||||||
./android.nix
|
./android.nix
|
||||||
./base.nix
|
./base.nix
|
||||||
./cc.nix
|
./cc.nix
|
||||||
|
./data.nix
|
||||||
./documentation.nix
|
./documentation.nix
|
||||||
./gamedev.nix
|
./gamedev.nix
|
||||||
./java.nix
|
./java.nix
|
||||||
|
@ -23,10 +23,11 @@ in
|
|||||||
my.packages = with pkgs;
|
my.packages = with pkgs;
|
||||||
(if cfg.clojure.enable then [
|
(if cfg.clojure.enable then [
|
||||||
clojure # Improved Java version.
|
clojure # Improved Java version.
|
||||||
|
leiningen # Install Clojure projects without pulling your hair.
|
||||||
] else []) ++
|
] else []) ++
|
||||||
|
|
||||||
(if cfg.guile.enable then [
|
(if cfg.guile.enable then [
|
||||||
guile # A general-purpose language for stuff, named after a certain American pop culture icon.
|
guile # A general-purpose language for stuff, named after a certain pop culture icon from an iconic fighting game.
|
||||||
] else []) ++
|
] else []) ++
|
||||||
|
|
||||||
(if cfg.racket.enable then [
|
(if cfg.racket.enable then [
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
[
|
[
|
||||||
(self: super: with super; {
|
(self: super: with super; {
|
||||||
nur-foo-dogsquared = import (
|
|
||||||
fetchTarball "https://github.com/foo-dogsquared/nix-expressions/archive/master.tar.gz") { };
|
|
||||||
);
|
|
||||||
);
|
|
||||||
|
|
||||||
# Add packages from the unstable channel with `pkgs.unstable.$PKG`.
|
# Add packages from the unstable channel with `pkgs.unstable.$PKG`.
|
||||||
unstable = import <nixpkgs-unstable> { inherit config; };
|
unstable = import <nixpkgs-unstable> { inherit config; };
|
||||||
|
nur.foo-dogsquared = import (
|
||||||
|
fetchTarball "https://github.com/foo-dogsquared/nur-packages/archive/develop.tar.gz"
|
||||||
|
) { inherit pkgs; };
|
||||||
})
|
})
|
||||||
|
|
||||||
# The unstable branch of Emacs.
|
# The unstable branch of Emacs.
|
||||||
|
Loading…
Reference in New Issue
Block a user