Merge branch 'master' of ssh://ssh.nx2.site:50022/nx2/dotfiles
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
# nixd # specified in nixd.nix
|
# nixd # specified in nixd.nix
|
||||||
gopls
|
gopls
|
||||||
python311Packages.python-lsp-server
|
python311Packages.python-lsp-server
|
||||||
|
jdt-language-server
|
||||||
ruff
|
ruff
|
||||||
ruff-lsp
|
ruff-lsp
|
||||||
pyright
|
pyright
|
||||||
@@ -145,20 +146,10 @@
|
|||||||
command = "ruff-lsp";
|
command = "ruff-lsp";
|
||||||
config.settings.args = [
|
config.settings.args = [
|
||||||
# Set line length
|
# Set line length
|
||||||
# "--line-length"
|
"--line-length"
|
||||||
# "79"
|
"240"
|
||||||
|
# Enable custom ruff rules
|
||||||
# Enable some ruff rules
|
# "--select" lib.concatStringsSep [ ]
|
||||||
# "--select"
|
|
||||||
# (
|
|
||||||
# "F,W,E,I,N,D200,D201,D202,D203,D204,D205,D206,D207,D208,D209,D210,D211,"
|
|
||||||
# + "D212,D213,D214,D215,D300,D301,D400,D401,D402,D403,D404,D405,D406,"
|
|
||||||
# + "D407,D408,D409,D410,D411,D412,D413,D414,D415,D416,D417,D418,D419,"
|
|
||||||
# + "UP,YTT,TRIO,ASYNC,B,A,COM,C4,DTZ,T10,DJ,EXE,FA,ISC,ICN001,G010,"
|
|
||||||
# + "G101,G201,G202,INP,PIE,Q,RSE,RET,SLOT,SIM,TCH,INT,ARG,PTH,TD001,"
|
|
||||||
# + "TD004,TD005,TD006,TD007,PD,PL,TRY004,TRY200,TRY201,TRY302,TRY400,"
|
|
||||||
# + "TRY401,FLY,NPY,AIR,PERF,FURB,LOG,RUF"
|
|
||||||
# )
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"llm" = {
|
"llm" = {
|
||||||
|
|||||||
@@ -260,6 +260,11 @@ in {
|
|||||||
"opacity ${transparency},class:^(com.chatterino.*)$"
|
"opacity ${transparency},class:^(com.chatterino.*)$"
|
||||||
"opacity ${transparency},class:^(chatterino)$"
|
"opacity ${transparency},class:^(chatterino)$"
|
||||||
"bordercolor rgba(${rice.lib.nohash rice.color.magenta.bright}ff), pinned:1"
|
"bordercolor rgba(${rice.lib.nohash rice.color.magenta.bright}ff), pinned:1"
|
||||||
|
"noanim, class:^(presenter)$" # sent
|
||||||
|
"float, class:^(presenter)$" # sent
|
||||||
|
"noanim, class:^(imv)$"
|
||||||
|
"float, class:^(imv)$"
|
||||||
|
"fullscreen, class:^(imv)$"
|
||||||
] ++ [
|
] ++ [
|
||||||
"bordersize 0, floating:0, onworkspace:w[tv1]"
|
"bordersize 0, floating:0, onworkspace:w[tv1]"
|
||||||
"rounding 0, floating:0, onworkspace:w[tv1]"
|
"rounding 0, floating:0, onworkspace:w[tv1]"
|
||||||
|
|||||||
8
home-modules/programming/java.nix
Normal file
8
home-modules/programming/java.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
jdk
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
{ pkgs, lib, user, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
qt = {
|
qt = {
|
||||||
platformTheme = "gtk";
|
enable = true;
|
||||||
|
platformTheme.name = "qtct";
|
||||||
|
style.name = "adwaita-dark";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,18 @@
|
|||||||
n-completion-items = 9999999999999;
|
n-completion-items = 9999999999999;
|
||||||
exec-command = "open";
|
exec-command = "open";
|
||||||
page-padding = rice.border-width;
|
page-padding = rice.border-width;
|
||||||
|
|
||||||
|
#stop at page boundries
|
||||||
|
scroll-page-aware = true;
|
||||||
|
smooth-scroll = true;
|
||||||
|
scroll-full-overlap = 0.01;
|
||||||
|
scroll-step = 300;
|
||||||
};
|
};
|
||||||
|
mappings = {
|
||||||
|
h = ''feedkeys "<C-Left>"'';
|
||||||
|
j = ''feedkeys "<C-Down>"'';
|
||||||
|
k = ''feedkeys "<C-Up>"'';
|
||||||
|
l = ''feedkeys "<C-Right>"'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
2
home.nix
2
home.nix
@@ -39,6 +39,8 @@
|
|||||||
./home-modules/programming/c.nix
|
./home-modules/programming/c.nix
|
||||||
./home-modules/programming/gleam.nix
|
./home-modules/programming/gleam.nix
|
||||||
./home-modules/programming/go.nix
|
./home-modules/programming/go.nix
|
||||||
|
./home-modules/programming/java.nix
|
||||||
|
./home-modules/programming/js.nix
|
||||||
./home-modules/programming/node.nix
|
./home-modules/programming/node.nix
|
||||||
./home-modules/programming/python.nix
|
./home-modules/programming/python.nix
|
||||||
./home-modules/qt.nix
|
./home-modules/qt.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user