added cachix substituter
This commit is contained in:
parent
de6a60bca7
commit
89f09efb95
11
flake.nix
11
flake.nix
|
@ -1,6 +1,17 @@
|
|||
{
|
||||
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 = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
helix = {
|
||||
|
|
|
@ -15,14 +15,19 @@
|
|||
# }
|
||||
|
||||
{
|
||||
name = "latex";
|
||||
indent.tab-width = 2;
|
||||
indent.unit = "\t";
|
||||
name = "java";
|
||||
language-servers = ["java-language-server"];
|
||||
}
|
||||
|
||||
{
|
||||
name = "java";
|
||||
language-servers = ["java-language-server"];
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
}
|
||||
|
||||
{
|
||||
name = "latex";
|
||||
indent.tab-width = 2;
|
||||
indent.unit = "\t";
|
||||
}
|
||||
];
|
||||
language-server = {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
# enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
add_newline = false;
|
||||
|
|
Loading…
Reference in a new issue