make sure we can use vscode

This commit is contained in:
Cyryl Płotnicki 2023-11-04 10:38:36 +00:00
parent d92b50286c
commit c97aab68bf
4 changed files with 75 additions and 77 deletions

View file

@ -6,10 +6,7 @@
nixpkgs-nixos-stable-and-unfree, nixpkgs-nixos-stable-and-unfree,
nixpkgs-nixos-unstable-and-unfree, nixpkgs-nixos-unstable-and-unfree,
... ...
}: let }: {
unstable = inputs.nixpkgs-nixos-unstable.legacyPackages.${pkgs.system};
nixpkgs-master = inputs.nixpkgs-master.legacyPackages.${pkgs.system};
in {
security.chromiumSuidSandbox.enable = true; security.chromiumSuidSandbox.enable = true;
home-manager.users.cyryl = {...}: { home-manager.users.cyryl = {...}: {
@ -31,67 +28,65 @@ in {
programs.chromium.enable = true; programs.chromium.enable = true;
programs.firefox.enable = true; programs.firefox.enable = true;
home.packages = with pkgs; home.packages =
with pkgs.gnome3; (with pkgs;
with pkgs.python38Packages; with pkgs.gnome3;
[ with pkgs.python38Packages; [
anarchism anarchism
calibre calibre
cheese cheese
digikam digikam
electrum electrum
element-desktop element-desktop
eog eog
evince evince
fontconfig fontconfig
freecad freecad
ghidra-bin ghidra-bin
gimp gimp
glxinfo glxinfo
gnome-screenshot gnome-screenshot
gparted gparted
inkscape inkscape
kdenlive kdenlive
koreader koreader
krusader krusader
libreoffice libreoffice
mediainfo mediainfo
mindforger mindforger
modem-manager-gui modem-manager-gui
nautilus nautilus
nyxt nyxt
obs-studio obs-studio
openscad openscad
passff-host passff-host
pdfarranger pdfarranger
pkgs.gsettings-desktop-schemas pkgs.gsettings-desktop-schemas
pkgs.shotwell pkgs.shotwell
qcad qcad
qemu qemu
remmina remmina
signal-desktop signal-desktop
simple-scan simple-scan
spotify spotify
ssb-patchwork ssb-patchwork
tigervnc tigervnc
tlaplusToolbox tlaplusToolbox
tlaps tlaps
uefitool uefitool
vlc vlc
winePackages.full winePackages.full
wireshark wireshark
wsjtx wsjtx
xclip xclip
xidlehook xidlehook
yubico-piv-tool yubico-piv-tool
yubikey-manager-qt yubikey-manager-qt
yubikey-personalization yubikey-personalization
yubikey-personalization-gui yubikey-personalization-gui
] ])
++ (with unstable; [glaxnimate gnucash kicad thunderbird]) ++ (with pkgs.unstable; [gnucash kicad thunderbird])
++ [ ++ (with nixpkgs-nixos-stable-and-unfree; [discord])
nixpkgs-nixos-stable-and-unfree.discord ++ (with nixpkgs-nixos-unstable-and-unfree; [hopper]);
nixpkgs-nixos-unstable-and-unfree.hopper
];
}; };
} }

View file

@ -11,6 +11,7 @@
editor.formatOnType = true; editor.formatOnType = true;
editor.fontSize = 16; editor.fontSize = 16;
files.autoSave = "onFocusChange"; files.autoSave = "onFocusChange";
rust-analyzer.checkOnSave.command = "clippy";
platformio-ide = { platformio-ide = {
useBuiltinPIOCore = true; useBuiltinPIOCore = true;
useBuiltinPython = true; useBuiltinPython = true;
@ -41,12 +42,6 @@
version = "1.25.2"; version = "1.25.2";
sha256 = "sha256-hy2Ks6oRc9io6vfgql9aFGjUiRzBCS4mGdDO3NqIFEg="; sha256 = "sha256-hy2Ks6oRc9io6vfgql9aFGjUiRzBCS4mGdDO3NqIFEg=";
} }
{
publisher = "platformio";
name = "platformio-ide";
version = "3.3.1";
sha256 = "sha256-zBZFpOWJ4JEv6qu9XT1u0uspZ+N2wKrpL3joC+/t/zs=";
}
{ {
publisher = "bierner"; publisher = "bierner";
name = "markdown-mermaid"; name = "markdown-mermaid";
@ -80,8 +75,8 @@
{ {
publisher = "ms-vscode"; publisher = "ms-vscode";
name = "cpptools"; name = "cpptools";
version = "1.17.5"; version = "1.18.1";
sha256 = "sha256-LAAEw8goAw3x1MU/TkIdLgPYa0f5b6Hv4GkeiPTVbdY="; sha256 = "sha256-TRIEdlJI1QQMV6I9CFBjlw9ZfKvUJrmE2YoO/InX39E=";
} }
{ {
publisher = "ms-vscode"; publisher = "ms-vscode";

View file

@ -22,9 +22,10 @@
bitwarden-cli bitwarden-cli
bottom bottom
curl curl
dive
dmidecode
dnsutils dnsutils
docker-compose docker-compose
dive
du-dust du-dust
esptool esptool
exercism exercism
@ -42,10 +43,10 @@
jpeginfo jpeginfo
jq jq
nix-du nix-du
nix-index
nix-top
nixfmt nixfmt
nix-index
nixpkgs-fmt nixpkgs-fmt
nix-top
nmap nmap
nvd nvd
ripgrep-all ripgrep-all

View file

@ -35,5 +35,12 @@
browserpass.enable = true; browserpass.enable = true;
lsd.enable = true; lsd.enable = true;
lsd.enableAliases = true; lsd.enableAliases = true;
#eza = {
# enable = true;
# enableAliases = true;
# git = true;
# icons = true;
#};
}; };
} }