update vscode

This commit is contained in:
Seaswimmer 2024-12-14 09:08:02 -05:00
parent bc48e2dc28
commit bf9a570ad5
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 39 additions and 8 deletions

View file

@ -750,7 +750,8 @@
"nixvim": "nixvim",
"nur": "nur",
"plasma-manager": "plasma-manager",
"sops-nix": "sops-nix"
"sops-nix": "sops-nix",
"staging-next": "staging-next"
}
},
"rust-overlay": {
@ -798,6 +799,22 @@
"type": "github"
}
},
"staging-next": {
"locked": {
"lastModified": 1734177916,
"narHash": "sha256-LOFqi+fqyev139weR+0W8YW2wasWZSDXPuVFM4HmYyo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "145ffddb216135e76a32def79b19f46d1dcdbdc9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "staging-next",
"repo": "nixpkgs",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,

View file

@ -2,6 +2,7 @@
description = "System Configuration @ cswimr 2024";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
staging-next.url = "github:NixOS/nixpkgs/staging-next";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
@ -57,6 +58,10 @@
];
config.allowUnfree = true;
};
stagingNextPkgs = import inputs.staging-next {
inherit system;
config.allowUnfree = true;
};
in
{
nixosConfigurations = {
@ -65,6 +70,7 @@
specialArgs = {
inherit inputs;
inherit pkgs;
inherit stagingNextPkgs;
system = system;
hostname = "eclipse";
user = user;
@ -129,6 +135,7 @@
extraSpecialArgs = {
inherit inputs;
inherit pkgs;
inherit stagingNextPkgs;
system = system;
hostname = "eclipse";
user = user;

View file

@ -1,5 +1,6 @@
{
pkgs,
stagingNextPkgs,
config,
system,
inputs,
@ -37,7 +38,7 @@ rec {
enable = true;
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
package = pkgs.vscode;
package = stagingNextPkgs.vscode;
# package = pkgs.vscode.fhsWithPackages (
# ps: with pkgs; [
# dotnetCorePackages.sdk_8_0
@ -201,7 +202,8 @@ rec {
d-koppenhagen.file-tree-to-text-generator
];
userSettings = {
"DO-NOT-EDIT-1" = "This file is managed by the Nix module located at `/etc/nixos/home-manager/vscode.nix`.";
"DO-NOT-EDIT-1" =
"This file is managed by the Nix module located at `/etc/nixos/home-manager/vscode.nix`.";
"DO-NOT-EDIT-2" = "Changes will be overwritten when VSCode is restarted.";
"DO-NOT-EDIT-3" = "To persist changes, edit the module and run `upd` in your terminal.";
"editor.tokenColorCustomizations" = {
@ -317,7 +319,8 @@ rec {
"vscord.status.image.large.debugging.key" = "https://vscord.catppuccin.com/mocha/debugging.webp";
"vscord.status.image.large.editing.key" = "https://vscord.catppuccin.com/mocha/{lang}.webp";
"vscord.status.image.large.idle.key" = "https://vscord.catppuccin.com/mocha/idle-{app_id}.webp";
"vscord.status.image.large.notInFile.key" = "https://vscord.catppuccin.com/mocha/idle-{app_id}.webp";
"vscord.status.image.large.notInFile.key" =
"https://vscord.catppuccin.com/mocha/idle-{app_id}.webp";
"vscord.status.image.large.viewing.key" = "https://vscord.catppuccin.com/mocha/{lang}.webp";
"vscord.status.image.small.debugging.key" = "https://vscord.catppuccin.com/mocha/debugging.webp";
"vscord.status.image.small.editing.key" = "https://vscord.catppuccin.com/mocha/{app_id}.webp";
@ -381,9 +384,12 @@ rec {
"redhat.telemetry.enabled" = true;
"editor.fontSize" = 14;
"workbench.colorTheme" = "Catppuccin Mocha";
"editor.codeLensFontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"editor.inlayHints.fontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font', 'FiraCode Nerd Font Light'";
"editor.fontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"editor.codeLensFontFamily" =
"'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"editor.inlayHints.fontFamily" =
"'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font', 'FiraCode Nerd Font Light'";
"editor.fontFamily" =
"'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"explorer.confirmDelete" = false;
"window.confirmSaveUntitledWorkspace" = false;
"cwtools.cache.stellaris" = "/bulk/steam/steamapps/common/Stellaris";
@ -432,7 +438,8 @@ rec {
"eclipse" = "linux";
};
"terminal.integrated.fontWeightBold" = "bold";
"terminal.integrated.fontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"terminal.integrated.fontFamily" =
"'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
"[jsonc]" = {
"editor.defaultFormatter" = "esbenp.prettier-vscode";
};