create dev bundle and move vscode to bundle
This commit is contained in:
parent
23885308b8
commit
8286496b2a
2 changed files with 20 additions and 1 deletions
19
modules/nixos/bundles/dev.nix
Normal file
19
modules/nixos/bundles/dev.nix
Normal 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}";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue