mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Developer] Add developer mode in config
For now, it adds several packages useful for dev
This commit is contained in:
parent
d17a31ad41
commit
2e347eab63
2 changed files with 26 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ in {
|
|||
|
||||
imports = [
|
||||
./desktop/plasma.nix
|
||||
./desktop/developer.nix
|
||||
];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
|||
25
desktop/developer.nix
Normal file
25
desktop/developer.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ 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"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue