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
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
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