nixos-lib/desktop/developer.nix
Antoine Viallon 2e347eab63
[Developer] Add developer mode in config
For now, it adds several packages useful for dev
2022-05-06 01:26:06 +02:00

25 lines
460 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.aviallon.developer;
in {
options.aviallon.developer = {
enable = mkEnableOption "enable developer mode on this machine";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
tabnine
numactl
schedtool
stress
sqlite
hwloc
bind
# adbfs-rootless
];
aviallon.programs.allowUnfreeList = [
"tabnine"
];
};
}