Compare commits

..

No commits in common. "fea701c7b85002d4899bee1a27ad54020cc026ae" and "80eaacd3a36d553767ec0eaceaf29db8bb8c445c" have entirely different histories.

2 changed files with 30 additions and 43 deletions

View file

@ -22,17 +22,12 @@
indent-guides.render = true;
};
};
};
# The builtin languages options have issues
# https://github.com/nix-community/home-manager/issues/3299
xdg.configFile."helixLanguages" = {
target = "helix/languages.toml";
text = ''
[language-server.nil]
config.nil.formatting.command = [ "nixpkgs-fmt" ]
[[language]]
name = "nix"
'';
languages = [
{
name = "nix";
formatter.command = "nixpkgs-fmt";
}
];
};
};
}

View file

@ -2,11 +2,7 @@
let inputs = flakeSelf.inputs; in
{
nixpkgs.overlays = [ inputs.catppuccin-vsc.overlays.default ];
home-manager.users.toast = {
home.packages = with pkgs; [
nixpkgs-fmt
];
programs.vscode = {
home-manager.users.toast.programs.vscode = {
enable = true;
package = pkgs.vscodium;
mutableExtensionsDir = false;
@ -29,12 +25,8 @@ let inputs = flakeSelf.inputs; in
"editor.semanticHighlighting.enabled" = true;
"nix.enableLanguageServer" = true;
"nix.serverPath" = "${pkgs.nil}/bin/nil";
"nix.serverSettings" = {
"nil"."formatting"."command" = [ "nixpkgs-fmt" ];
};
"terminal.integrated.minimumContrastRatio" = 1;
"window.titleBarStyle" = "custom";
};
};
};
}