2023-11-26 21:04:58 +01:00
|
|
|
{ lib, config, ... }:
|
2023-11-21 21:01:56 +01:00
|
|
|
{
|
|
|
|
options.frogeye = {
|
|
|
|
extra = lib.mkEnableOption "Big software";
|
2023-11-22 14:05:48 +01:00
|
|
|
desktop = {
|
|
|
|
xorg = lib.mkEnableOption "Enable X11 support";
|
|
|
|
nixGLIntel = lib.mkEnableOption "Enable nixGLIntel/nixVulkanIntel for windows manager";
|
|
|
|
};
|
2023-11-22 16:32:20 +01:00
|
|
|
dev = {
|
|
|
|
ansible = lib.mkEnableOption "Ansible dev stuff";
|
|
|
|
c = lib.mkEnableOption "C/C++ dev stuff";
|
|
|
|
docker = lib.mkEnableOption "Docker dev stuff";
|
|
|
|
fpga = lib.mkEnableOption "FPGA dev stuff";
|
|
|
|
python = lib.mkEnableOption "Python dev stuff";
|
|
|
|
};
|
2023-11-26 21:04:58 +01:00
|
|
|
dotfiles = {
|
|
|
|
path = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
2023-11-28 00:34:30 +01:00
|
|
|
# default = "${config.home.homeDirectory}/.config/dotfiles";
|
|
|
|
# FIXME Above doesn't work outside home-manager context
|
|
|
|
default = "/home/geoffrey/.config/dotfiles";
|
2023-11-26 21:04:58 +01:00
|
|
|
};
|
|
|
|
};
|
2023-11-22 16:32:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
config = {
|
|
|
|
frogeye = {
|
|
|
|
dev = {
|
|
|
|
ansible = lib.mkDefault true;
|
|
|
|
python = lib.mkDefault true;
|
|
|
|
};
|
|
|
|
};
|
2023-11-21 21:01:56 +01:00
|
|
|
};
|
|
|
|
}
|