added cachix substituter

This commit is contained in:
Aria Nolan 2023-11-04 23:06:38 -04:00
parent de6a60bca7
commit 89f09efb95
3 changed files with 22 additions and 6 deletions

View file

@ -1,6 +1,17 @@
{ {
description = "tacocat's nix configuration"; description = "tacocat's nix configuration";
nixConfig = {
experimental-features = ["nix-command" "flakes"];
extra-substituters = [
# Nix community's cache server
"https://nix-community.cachix.org"
];
extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
helix = { helix = {

View file

@ -15,14 +15,19 @@
# } # }
{ {
name = "latex"; name = "java";
indent.tab-width = 2; language-servers = ["java-language-server"];
indent.unit = "\t";
} }
{ {
name = "java"; name = "nix";
language-servers = ["java-language-server"]; auto-format = true;
}
{
name = "latex";
indent.tab-width = 2;
indent.unit = "\t";
} }
]; ];
language-server = { language-server = {

View file

@ -6,7 +6,7 @@
programs.starship = { programs.starship = {
enable = true; enable = true;
enableBashIntegration = true; # enableBashIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
settings = { settings = {
add_newline = false; add_newline = false;