diff --git a/flake.nix b/flake.nix index a46b3de..9181478 100644 --- a/flake.nix +++ b/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 = { diff --git a/users/tacocat/helix/languages.nix b/users/tacocat/helix/languages.nix index 1d38529..3efd00b 100644 --- a/users/tacocat/helix/languages.nix +++ b/users/tacocat/helix/languages.nix @@ -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 = { diff --git a/users/tacocat/shell/default.nix b/users/tacocat/shell/default.nix index 9e413b5..8a07890 100644 --- a/users/tacocat/shell/default.nix +++ b/users/tacocat/shell/default.nix @@ -6,7 +6,7 @@ programs.starship = { enable = true; - enableBashIntegration = true; + # enableBashIntegration = true; enableZshIntegration = true; settings = { add_newline = false;