diff --git a/.gitignore b/.gitignore index abd4567..ab8439a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ result *.swp -*.qcow2 \ No newline at end of file +*.qcow2 +.idea/ \ No newline at end of file diff --git a/hosts/nixos-test/home.nix b/hosts/nixos-test/home.nix index 0aafc57..6dcf755 100644 --- a/hosts/nixos-test/home.nix +++ b/hosts/nixos-test/home.nix @@ -13,10 +13,6 @@ kitty.enable = true; }; - editors = { - vscode.enable = true; - }; - shell = { zsh.enable = true; atuin.enable = true; diff --git a/hosts/perso-desktop/home.nix b/hosts/perso-desktop/home.nix index 0aafc57..6dcf755 100644 --- a/hosts/perso-desktop/home.nix +++ b/hosts/perso-desktop/home.nix @@ -13,10 +13,6 @@ kitty.enable = true; }; - editors = { - vscode.enable = true; - }; - shell = { zsh.enable = true; atuin.enable = true; diff --git a/hosts/perso-laptop/home.nix b/hosts/perso-laptop/home.nix index 0aafc57..6dcf755 100644 --- a/hosts/perso-laptop/home.nix +++ b/hosts/perso-laptop/home.nix @@ -13,10 +13,6 @@ kitty.enable = true; }; - editors = { - vscode.enable = true; - }; - shell = { zsh.enable = true; atuin.enable = true; diff --git a/hosts/pro-laptop/home.nix b/hosts/pro-laptop/home.nix index 0aafc57..6dcf755 100644 --- a/hosts/pro-laptop/home.nix +++ b/hosts/pro-laptop/home.nix @@ -13,10 +13,6 @@ kitty.enable = true; }; - editors = { - vscode.enable = true; - }; - shell = { zsh.enable = true; atuin.enable = true; diff --git a/modules/home/apps/flatpak/default.nix b/modules/home/apps/flatpak/default.nix index 052f6b0..7084ec5 100644 --- a/modules/home/apps/flatpak/default.nix +++ b/modules/home/apps/flatpak/default.nix @@ -30,6 +30,7 @@ in { appId = "org.mozilla.Thunderbird"; origin = "flathub"; } { appId = "ch.protonmail.protonmail-bridge"; origin = "flathub"; } { appId = "org.kde.neochat"; origin = "flathub"; } + { appId = "com.visualstudio.code"; origin = "flathub"; } # Loisir { appId = "com.spotify.Client"; origin = "flathub"; } diff --git a/modules/home/default.nix b/modules/home/default.nix index 6d528ce..92279a8 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -3,7 +3,6 @@ { imports = [ ./apps - ./editors ./desktop ./shell ]; diff --git a/modules/home/editors/default.nix b/modules/home/editors/default.nix deleted file mode 100644 index 40db812..0000000 --- a/modules/home/editors/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, pkgs, ... }: - -{ - imports = [ - ./vscode - ]; -} \ No newline at end of file diff --git a/modules/home/editors/vscode/default.nix b/modules/home/editors/vscode/default.nix deleted file mode 100644 index 13ed250..0000000 --- a/modules/home/editors/vscode/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ config, pkgs, lib, ... }: - -with lib; -let - cfg = config.modules.home.editors.vscode; -in -{ - options.modules.home.editors.vscode = { - enable = mkEnableOption '' - Enable vscode with my custom configurations - ''; - }; - config = mkIf cfg.enable { - programs.vscode = { - enable = true; - enableUpdateCheck = false; - enableExtensionUpdateCheck = false; - - userSettings = { - "files.autoSave" = "onFocusChange"; - "emmet.includeLanguages" = { - "phoenix-heex" = "html"; - }; - "git.autofetch" = true; - }; - - userTasks = {}; - - extensions = with pkgs; with vscode-extensions; [ - # Nix - bbenoist.nix - - # Rust - rust-lang.rust-analyzer - serayuzgur.crates - tamasfe.even-better-toml - - # Phoenix - phoenixframework.phoenix - elixir-lsp.vscode-elixir-ls - - # Ruby - shopify.ruby-lsp - ]; - }; - }; -} \ No newline at end of file