mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 17:57:50 +00:00
30 lines
530 B
Nix
30 lines
530 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
|
|
git-cola
|
|
# adbfs-rootless
|
|
];
|
|
|
|
documentation = {
|
|
dev.enable = true;
|
|
};
|
|
|
|
aviallon.programs.allowUnfreeList = [
|
|
"tabnine"
|
|
];
|
|
};
|
|
}
|