diff --git a/hosts/nixos-test/home.nix b/hosts/nixos-test/home.nix index 3666345..0aafc57 100644 --- a/hosts/nixos-test/home.nix +++ b/hosts/nixos-test/home.nix @@ -11,6 +11,9 @@ flatpak.enable = true; jetbrainsToolbox.enable = true; kitty.enable = true; + }; + + editors = { vscode.enable = true; }; diff --git a/hosts/perso-desktop/home.nix b/hosts/perso-desktop/home.nix index 3666345..0aafc57 100644 --- a/hosts/perso-desktop/home.nix +++ b/hosts/perso-desktop/home.nix @@ -11,6 +11,9 @@ flatpak.enable = true; jetbrainsToolbox.enable = true; kitty.enable = true; + }; + + editors = { vscode.enable = true; }; diff --git a/hosts/perso-laptop/home.nix b/hosts/perso-laptop/home.nix index 3666345..0aafc57 100644 --- a/hosts/perso-laptop/home.nix +++ b/hosts/perso-laptop/home.nix @@ -11,6 +11,9 @@ flatpak.enable = true; jetbrainsToolbox.enable = true; kitty.enable = true; + }; + + editors = { vscode.enable = true; }; diff --git a/hosts/pro-laptop/home.nix b/hosts/pro-laptop/home.nix index 3666345..0aafc57 100644 --- a/hosts/pro-laptop/home.nix +++ b/hosts/pro-laptop/home.nix @@ -11,6 +11,9 @@ flatpak.enable = true; jetbrainsToolbox.enable = true; kitty.enable = true; + }; + + editors = { vscode.enable = true; }; diff --git a/modules/home/apps/default.nix b/modules/home/apps/default.nix index ff42f42..888257b 100644 --- a/modules/home/apps/default.nix +++ b/modules/home/apps/default.nix @@ -6,6 +6,5 @@ ./flatpak ./jetbrainsToolbox ./kitty - ./vscode ]; } \ No newline at end of file diff --git a/modules/home/default.nix b/modules/home/default.nix index 92279a8..6d528ce 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -3,6 +3,7 @@ { imports = [ ./apps + ./editors ./desktop ./shell ]; diff --git a/modules/home/editors/default.nix b/modules/home/editors/default.nix new file mode 100644 index 0000000..40db812 --- /dev/null +++ b/modules/home/editors/default.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ./vscode + ]; +} \ No newline at end of file diff --git a/modules/home/apps/vscode/default.nix b/modules/home/editors/vscode/default.nix similarity index 90% rename from modules/home/apps/vscode/default.nix rename to modules/home/editors/vscode/default.nix index a52feca..13ed250 100644 --- a/modules/home/apps/vscode/default.nix +++ b/modules/home/editors/vscode/default.nix @@ -2,10 +2,10 @@ with lib; let - cfg = config.modules.home.apps.vscode; + cfg = config.modules.home.editors.vscode; in { - options.modules.home.apps.vscode = { + options.modules.home.editors.vscode = { enable = mkEnableOption '' Enable vscode with my custom configurations '';