2024-10-15 16:57:00 -07:00
|
|
|
{ pkgs, lib, ... }:
|
2024-09-17 13:56:38 -07:00
|
|
|
{
|
|
|
|
## Nix LSP
|
|
|
|
home.packages = with pkgs; [ nixd ];
|
|
|
|
## VSCodium
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
2024-10-15 16:57:00 -07:00
|
|
|
mutableExtensionsDir = true;
|
2024-09-17 13:56:38 -07:00
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
continue.continue
|
|
|
|
];
|
|
|
|
userSettings = {
|
|
|
|
"nix.serverPath" = "nixd";
|
|
|
|
"nix.enableLanguageServer" = true;
|
|
|
|
"explorer.confirmDragAndDrop" = false;
|
2024-10-15 16:57:00 -07:00
|
|
|
"workbench.colorTheme" = "Stylix";
|
2024-10-15 16:58:59 -07:00
|
|
|
"git.autofetch" = true;
|
2024-10-15 17:01:22 -07:00
|
|
|
"git.confirmSync" = false;
|
2024-10-15 16:57:00 -07:00
|
|
|
"editor.fontFamily" = lib.mkForce "'Symbols Nerd Font Mono', 'PowerlineSymbols', 'DejaVu Sans Mono'";
|
2024-10-16 21:41:14 -07:00
|
|
|
"git.enableSmartCommit" = true;
|
2024-10-15 16:57:00 -07:00
|
|
|
};
|
|
|
|
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 = [];
|
|
|
|
}
|
|
|
|
];
|
2024-09-17 13:56:38 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|