feat: platformio ext

This commit is contained in:
2024-11-28 20:52:19 +01:00
parent 014cc94c37
commit 43ea71f619

View File

@@ -1,14 +1,17 @@
{ pkgs, ... }: { { pkgs, ... }:
{
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium.fhsWithPackages (ps: with ps; [ package = pkgs.vscodium.fhsWithPackages (
ps: with ps; [
rustup rustup
zlib zlib
openssl.dev openssl.dev
pkg-config pkg-config
nixfmt-rfc-style nixfmt-rfc-style
python3 python3
]); ]
);
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
ms-python.python ms-python.python
@@ -21,6 +24,7 @@
# github.copilot-chat # github.copilot-chat
ms-vsliveshare.vsliveshare ms-vsliveshare.vsliveshare
rust-lang.rust-analyzer rust-lang.rust-analyzer
platformio.platformio-ide
]; ];
userSettings = { userSettings = {
@@ -48,8 +52,7 @@
"expr" = "import <nixpkgs> { }"; "expr" = "import <nixpkgs> { }";
"options" = { "options" = {
"nixos" = { "nixos" = {
"expr" = '' "expr" = ''(builtins.getFlake "/home/mike/.files").nixosConfigurations.zion.options'';
(builtins.getFlake "/home/mike/.files").nixosConfigurations.zion.options'';
}; };
}; };
}; };