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";
|
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 = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue