Split out hm/common

I went nuclear...
This commit is contained in:
Geoffrey Frogeye 2024-01-11 23:54:03 +01:00
parent 033f411060
commit 4412180b3a
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
17 changed files with 345 additions and 307 deletions

View file

@ -36,25 +36,12 @@
c = lib.mkEnableOption "C/C++ dev stuff";
docker = lib.mkEnableOption "Docker dev stuff";
fpga = lib.mkEnableOption "FPGA dev stuff";
go = lib.mkEnableOption "Python dev stuff";
go = lib.mkEnableOption "Go dev stuff";
node = lib.mkEnableOption "NodeJS dev stuff";
perl = lib.mkEnableOption "Perl dev stuff";
php = lib.mkEnableOption "PHP dev stuff";
python = lib.mkEnableOption "Python dev stuff";
};
shellAliases = lib.mkOption { # TODO Just use bash option and copy it for zsh
default = { };
example = lib.literalExpression ''
{
ll = "ls -l";
".." = "cd ..";
}
'';
description = ''
An attribute set that maps aliases (the top level attribute names in
this option) to command strings or directly to build outputs.
'';
type = lib.types.attrsOf lib.types.str;
};
};
config = {