praca nad stworzeniem defaultowego profilu, z którego kolejne profile będą dziedziczyć.
This commit is contained in:
@@ -1,19 +1,23 @@
|
||||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
default = import ./codium/default.nix {inherit pkgs;};
|
||||
webdev = import ./codium/webdev-vue.nix.nix {inherit pkgs;};
|
||||
django = import ./codium/python-django.nix.nix {inherit pkgs;};
|
||||
tauri = import ./codium/rust-tauri.nix.nix {inherit pkgs;};
|
||||
bevy = import ./codium/rust-bevy.nix.nix {inherit pkgs;};
|
||||
webdev-vue = import ./codium/webdev-vue.nix {inherit pkgs;};
|
||||
python-django = import ./codium/python-django.nix {inherit pkgs;};
|
||||
rust-tauri = import ./codium/rust-tauri.nix {inherit pkgs;};
|
||||
rust-bevy = import ./codium/rust-bevy.nix {inherit pkgs;};
|
||||
in {
|
||||
programs.vscode = {
|
||||
programs.vscode = lib.mkDefault {
|
||||
enable = true;
|
||||
package = pkgs.vscodium;
|
||||
profiles = {
|
||||
inherit (default.programs.vscode.profiles) default;
|
||||
inherit (webdev.programs.vscode.profiles) webdev;
|
||||
inherit (django.programs.vscode.profiles) django;
|
||||
inherit (tauri.programs.vscode.profiles) tauri;
|
||||
inherit (bevy.programs.vscode.profiles) bevy;
|
||||
inherit (webdev-vue.programs.vscode.profiles) webdev-vue;
|
||||
inherit (python-django.programs.vscode.profiles) python-django;
|
||||
inherit (rust-tauri.programs.vscode.profiles) rust-tauri;
|
||||
inherit (rust-bevy.programs.vscode.profiles) rust-bevy;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user