create dev bundle and move vscode to bundle

This commit is contained in:
wi11-holdsworth 2025-07-31 11:31:54 +10:00
parent 23885308b8
commit 8286496b2a
2 changed files with 20 additions and 1 deletions

View file

@ -9,6 +9,7 @@ let
in
{
config = lib.mkIf config.${feature}.enable {
dev.enable = true;
pipewire.enable = true;
print-and-scan.enable = true;
@ -22,7 +23,6 @@ in
libreoffice
obsidian
vlc
vscode
];
};

View file

@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}:
let
feature = "dev";
in
{
config = lib.mkIf config.${feature}.enable {
environment.systemPackages = with pkgs; [
swi-prolog
vscode
];
};
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}