35 lines
969 B
Nix
35 lines
969 B
Nix
{ lib, config, ... }:
|
|
{
|
|
options.frogeye = {
|
|
extra = lib.mkEnableOption "Big software";
|
|
desktop = {
|
|
xorg = lib.mkEnableOption "Enable X11 support";
|
|
nixGLIntel = lib.mkEnableOption "Enable nixGLIntel/nixVulkanIntel for windows manager";
|
|
};
|
|
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";
|
|
};
|
|
dotfiles = {
|
|
path = lib.mkOption {
|
|
type = lib.types.str;
|
|
# default = "${config.home.homeDirectory}/.config/dotfiles";
|
|
# FIXME Above doesn't work outside home-manager context
|
|
default = "/home/geoffrey/.config/dotfiles";
|
|
};
|
|
};
|
|
};
|
|
|
|
config = {
|
|
frogeye = {
|
|
dev = {
|
|
ansible = lib.mkDefault true;
|
|
python = lib.mkDefault true;
|
|
};
|
|
};
|
|
};
|
|
}
|