Added VSCodium

This commit is contained in:
Joshua Yuen 2025-08-28 18:45:51 -04:00
parent a37bdf6c60
commit 991da142e6
Signed by: josh
GPG Key ID: 502720BC22ED411C
6 changed files with 100 additions and 1 deletions

View File

@ -104,6 +104,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"fromYaml": { "fromYaml": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -174,6 +192,27 @@
}, },
"parent": [] "parent": []
}, },
"nix-vscode-extensions": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1756259830,
"narHash": "sha256-Xe9BcrvCc9uw7mcMQC8sFPPp5+eY521ovorHSbB/uzg=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "77b0a9f94092ac2a262c750a56b32d6e296f4a1f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1755615617, "lastModified": 1755615617,
@ -219,6 +258,7 @@
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"install-system": "install-system", "install-system": "install-system",
"nix-vscode-extensions": "nix-vscode-extensions",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"stylix": "stylix" "stylix": "stylix"
} }
@ -236,7 +276,7 @@
"nixpkgs" "nixpkgs"
], ],
"nur": "nur", "nur": "nur",
"systems": "systems", "systems": "systems_2",
"tinted-foot": "tinted-foot", "tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty", "tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes", "tinted-schemes": "tinted-schemes",
@ -273,6 +313,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": { "tinted-foot": {
"flake": false, "flake": false,
"locked": { "locked": {

View File

@ -7,6 +7,10 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-vscode-extensions = {
url = "github:nix-community/nix-vscode-extensions";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = { stylix = {
url = "github:danth/stylix/master"; url = "github:danth/stylix/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View File

@ -45,6 +45,7 @@ in
shell = pkgs.${shellCfg.defaultShell}; shell = pkgs.${shellCfg.defaultShell};
ignoreShellProgramCheck = true; ignoreShellProgramCheck = true;
packages = with pkgs; [ packages = with pkgs; [
direnv
fzf fzf
]; ];
}; };

View File

@ -5,6 +5,8 @@
imports = [ imports = [
./hyprland ./hyprland
./kitty.nix ./kitty.nix
./overlays.nix
./vscodium.nix
./xdg.nix ./xdg.nix
./zsh ./zsh
]; ];

11
modules/home/overlays.nix Normal file
View File

@ -0,0 +1,11 @@
{
inputs,
...
}:
{
nixpkgs = {
overlays = [
inputs.nix-vscode-extensions.overlays.default
];
};
}

26
modules/home/vscodium.nix Normal file
View File

@ -0,0 +1,26 @@
{
pkgs,
...
}:
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
profiles.default.extensions = with pkgs.vscode-extensions; with pkgs.vscode-marketplace; [
amazonwebservices.aws-toolkit-vscode
arrterian.nix-env-selector
christian-kohler.path-intellisense
eamodio.gitlens
esbenp.prettier-vscode
jnoortheen.nix-ide
leonardssh.vscord
mkhl.direnv
ms-python.debugpy
ms-python.python
opentofu.vscode-opentofu
redhat.ansible
redhat.vscode-yaml
rvest.vs-code-prettier-eslint
];
};
}