update vscode
This commit is contained in:
parent
bc48e2dc28
commit
bf9a570ad5
3 changed files with 39 additions and 8 deletions
19
flake.lock
19
flake.lock
|
@ -750,7 +750,8 @@
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"plasma-manager": "plasma-manager",
|
"plasma-manager": "plasma-manager",
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix",
|
||||||
|
"staging-next": "staging-next"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
|
@ -798,6 +799,22 @@
|
||||||
"type": "github"
|
"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": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
description = "System Configuration @ cswimr 2024";
|
description = "System Configuration @ cswimr 2024";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
staging-next.url = "github:NixOS/nixpkgs/staging-next";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -57,6 +58,10 @@
|
||||||
];
|
];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
stagingNextPkgs = import inputs.staging-next {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
@ -65,6 +70,7 @@
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
inherit stagingNextPkgs;
|
||||||
system = system;
|
system = system;
|
||||||
hostname = "eclipse";
|
hostname = "eclipse";
|
||||||
user = user;
|
user = user;
|
||||||
|
@ -129,6 +135,7 @@
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
inherit stagingNextPkgs;
|
||||||
system = system;
|
system = system;
|
||||||
hostname = "eclipse";
|
hostname = "eclipse";
|
||||||
user = user;
|
user = user;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
stagingNextPkgs,
|
||||||
config,
|
config,
|
||||||
system,
|
system,
|
||||||
inputs,
|
inputs,
|
||||||
|
@ -37,7 +38,7 @@ rec {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableUpdateCheck = false;
|
enableUpdateCheck = false;
|
||||||
enableExtensionUpdateCheck = false;
|
enableExtensionUpdateCheck = false;
|
||||||
package = pkgs.vscode;
|
package = stagingNextPkgs.vscode;
|
||||||
# package = pkgs.vscode.fhsWithPackages (
|
# package = pkgs.vscode.fhsWithPackages (
|
||||||
# ps: with pkgs; [
|
# ps: with pkgs; [
|
||||||
# dotnetCorePackages.sdk_8_0
|
# dotnetCorePackages.sdk_8_0
|
||||||
|
@ -201,7 +202,8 @@ rec {
|
||||||
d-koppenhagen.file-tree-to-text-generator
|
d-koppenhagen.file-tree-to-text-generator
|
||||||
];
|
];
|
||||||
userSettings = {
|
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-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.";
|
"DO-NOT-EDIT-3" = "To persist changes, edit the module and run `upd` in your terminal.";
|
||||||
"editor.tokenColorCustomizations" = {
|
"editor.tokenColorCustomizations" = {
|
||||||
|
@ -317,7 +319,8 @@ rec {
|
||||||
"vscord.status.image.large.debugging.key" = "https://vscord.catppuccin.com/mocha/debugging.webp";
|
"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.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.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.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.debugging.key" = "https://vscord.catppuccin.com/mocha/debugging.webp";
|
||||||
"vscord.status.image.small.editing.key" = "https://vscord.catppuccin.com/mocha/{app_id}.webp";
|
"vscord.status.image.small.editing.key" = "https://vscord.catppuccin.com/mocha/{app_id}.webp";
|
||||||
|
@ -381,9 +384,12 @@ rec {
|
||||||
"redhat.telemetry.enabled" = true;
|
"redhat.telemetry.enabled" = true;
|
||||||
"editor.fontSize" = 14;
|
"editor.fontSize" = 14;
|
||||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
"workbench.colorTheme" = "Catppuccin Mocha";
|
||||||
"editor.codeLensFontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
|
"editor.codeLensFontFamily" =
|
||||||
"editor.inlayHints.fontFamily" = "'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font', 'FiraCode Nerd Font Light'";
|
"'ComicCodeLigatures Nerd Font', 'Comic Code Ligatures', 'FiraCode Nerd Font'";
|
||||||
"editor.fontFamily" = "'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;
|
"explorer.confirmDelete" = false;
|
||||||
"window.confirmSaveUntitledWorkspace" = false;
|
"window.confirmSaveUntitledWorkspace" = false;
|
||||||
"cwtools.cache.stellaris" = "/bulk/steam/steamapps/common/Stellaris";
|
"cwtools.cache.stellaris" = "/bulk/steam/steamapps/common/Stellaris";
|
||||||
|
@ -432,7 +438,8 @@ rec {
|
||||||
"eclipse" = "linux";
|
"eclipse" = "linux";
|
||||||
};
|
};
|
||||||
"terminal.integrated.fontWeightBold" = "bold";
|
"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]" = {
|
"[jsonc]" = {
|
||||||
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue