enable java lsp

This commit is contained in:
Rouven Seifert 2023-04-24 15:15:01 +02:00
parent b00b6b6a9c
commit 8064ba74cc
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 54 additions and 12 deletions

View file

@ -16,6 +16,21 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"locked": {
"lastModified": 1656928814,
"narHash": "sha256-RIFfgBuKz6Hp89yRr7+NR5tzIAbn52h8vT6vXkYjZoM=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "7e2a3b3dfd9af950a856d66b0a7d01e3c18aa249",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -23,11 +38,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682273416, "lastModified": 1682333170,
"narHash": "sha256-YvRc5TOyf92Fcvt6cYfsqxfjqalAUME3Klv4IbdhkBE=", "narHash": "sha256-yrJIk5/ONaX0QVQoq67DzNPW7epOuiwAM9FY9xFrE8k=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a5a294a622a7d3a837aaa145334e4d813c1bc5b1", "rev": "6f9781b1b0cf3fedbe9d2d0a785aeec4d6085c10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -121,6 +136,27 @@
"type": "github" "type": "github"
} }
}, },
"language-servers": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1673891911,
"narHash": "sha256-ayBHJQpJItWrUsTy/uFDFRkDuaGTkGn4Y7Xka35rFY0=",
"ref": "refs/heads/master",
"rev": "be9c9b24c0fce29baaaf6b0f5cb4dd3cacad83ad",
"revCount": 9,
"type": "git",
"url": "https://git.sr.ht/~bwolf/language-servers.nix"
},
"original": {
"type": "git",
"url": "https://git.sr.ht/~bwolf/language-servers.nix"
}
},
"nix-colors": { "nix-colors": {
"inputs": { "inputs": {
"base16-schemes": "base16-schemes", "base16-schemes": "base16-schemes",
@ -224,11 +260,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1682181988, "lastModified": 1682268651,
"narHash": "sha256-CYWhlNi16cjGzMby9h57gpYE59quBcsHPXiFgX4Sw5k=", "narHash": "sha256-2eZriMhnD24Pmb8ideZWZDiXaAVe6LzJrHQiNPck+Lk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6c43a3495a11e261e5f41e5d7eda2d71dae1b2fe", "rev": "e78d25df6f1036b3fa76750ed4603dd9d5fe90fc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -279,6 +315,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprpaper": "hyprpaper", "hyprpaper": "hyprpaper",
"language-servers": "language-servers",
"nix-colors": "nix-colors", "nix-colors": "nix-colors",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
@ -297,11 +334,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1682218555, "lastModified": 1682338428,
"narHash": "sha256-kojMklCNBnPe8KtRvJvBtFGU/gPAqRKYpZEqyehHfn4=", "narHash": "sha256-T7AL/Us6ecxowjMAlO77GETTQO2SO+1XX2+Y/OSfHk8=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "8a95e6f8cd160a05c2b560e66f702432a53b59ac", "rev": "7c8e9727a2ecf9994d4a63d577ad5327e933b6a4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -46,6 +46,9 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
language-servers.url = "git+https://git.sr.ht/~bwolf/language-servers.nix";
language-servers.inputs.nixpkgs.follows = "nixpkgs";
purge = { purge = {
url = "github:therealr5/purge"; url = "github:therealr5/purge";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -66,6 +69,7 @@
, nixos-hardware , nixos-hardware
, purge , purge
, trucksimulatorbot-images , trucksimulatorbot-images
, language-servers
, ... , ...
}@attrs: { }@attrs: {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;

View file

@ -137,7 +137,7 @@
enable = true; enable = true;
settings = { settings = {
START_CHARGE_THRESH_BAT0 = 70; START_CHARGE_THRESH_BAT0 = 70;
STOP_CHARGE_THRESH_BAT0 = 85; STOP_CHARGE_THRESH_BAT0 = 90;
}; };
}; };

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, language-servers, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
lldb lldb
@ -20,6 +20,7 @@
pylint pylint
])) ]))
clang-tools clang-tools
language-servers.packages.x86_64-linux.jdt-language-server
]; ];
programs.helix = { programs.helix = {
enable = true; enable = true;

View file

@ -14,7 +14,7 @@
{ {
plugin = dracula; plugin = dracula;
extraConfig = '' extraConfig = ''
set -g @dracula-plugins "time" set -g @dracula-plugins "git time"
set -g @dracula-show-left-icon session set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true set -g @dracula-show-powerline true
''; '';