Jafner.net/nix/home-manager/app/vscode/vscode.nix
Joey Hafner d741b61a6c
Some checks failed
SSH and echo to file / ssh (push) Has been cancelled
Games/Steam: Add wine, nix-ld
VSCode: allow untrusted files
Hyprland/waybar: implement networkmanager GUI/TUI
System: Add networkmanagerapplet
2024-10-20 01:44:40 -07:00

49 lines
1.4 KiB
Nix

{ pkgs, lib, ... }:
{
## Nix LSP
home.packages = with pkgs; [ nixd ];
## VSCodium
programs.vscode = {
enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = true;
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
continue.continue
];
userSettings = {
"nix.serverPath" = "nixd";
"nix.enableLanguageServer" = true;
"explorer.confirmDragAndDrop" = false;
"workbench.colorTheme" = "Stylix";
"git.autofetch" = true;
"git.confirmSync" = false;
"editor.fontFamily" = lib.mkForce "'Symbols Nerd Font Mono', 'PowerlineSymbols', 'DejaVu Sans Mono'";
"git.enableSmartCommit" = true;
"security.workspace.trust.untrustedFiles" = "open";
};
userTasks = {
version = "2.0.0";
tasks = [
{
type = "shell";
label = "NixOS Rebuild Switch";
command = "sudo nixos-rebuild switch --flake ~/Jafner.net/nix";
problemMatcher = [];
}
{
type = "shell";
label = "Home-Manager Switch";
command = "home-manager switch -b bak --flake ~/Jafner.net/nix";
problemMatcher = [];
}
{
label = "System Rebuild";
dependsOn = ["NixOS Rebuild Switch" "Home-Manager Switch" ];
dependsOrder = "sequence";
problemMatcher = [];
}
];
};
};
}