Skip to content

Commit 395aca5

Browse files
committed
Update
1 parent 5634755 commit 395aca5

File tree

19 files changed

+527
-252
lines changed

19 files changed

+527
-252
lines changed

comb/satwik/homeConfigurations/laptop/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ in
2020
programs.fish.enable = true;
2121

2222
imports = with homeProfiles; [
23+
fontconfig
2324
direnv
2425
hyprland
2526
easyeffects
@@ -28,10 +29,11 @@ in
2829
discord
2930
ssh
3031
jujutsu
32+
zoxide
3133
wezterm
3234
kitty
3335
neovim
34-
fluidsynth
36+
#fluidsynth
3537
pianoteq
3638
lilypond
3739
extras
@@ -62,4 +64,5 @@ in
6264
# the Home Manager release notes for a list of state version
6365
# changes in each release.
6466
home.sessionVariables.EDITOR = "nvim";
67+
home.sessionVariables.LESS = "FRX";
6568
}

comb/satwik/homeProfiles/extras/default.nix

+11-6
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ let
77
in
88
{
99
home.packages = with pkgs; [
10+
cell.packages.qt5Packages.slicer3d
11+
#busybox
1012
reaper
1113
#bitwarden
1214
kicad
15+
protonmail-desktop
1316
#xclip
1417
#discord-canary
1518
#soundux # Currently Depreciated
@@ -30,24 +33,23 @@ in
3033
nix-update
3134
inputs.nixpkgs-update.packages.default
3235
wireplumber
33-
helvum
36+
#helvum
3437
openssl
3538
ranger
3639
linuxConsoleTools
37-
rust-analyzer
3840
bash
3941
gcc
40-
nerdfonts
42+
nerd-fonts.iosevka
4143
ledger
4244
fd
4345
unzip
4446
libguestfs
4547
qpwgraph
4648
#zrythm
47-
#reaper
49+
reaper
4850
godot_4
49-
#minecraft
5051
prismlauncher
52+
atlauncher
5153
musescore
5254
steam-run
5355
steamcmd
@@ -61,9 +63,12 @@ in
6163
#(citrix_workspace.override {
6264
# extraCerts=[./vmsctx01-hap1009-onprem-varian-com.pem];
6365
#})
64-
citrix_workspace_23_11_0
66+
#citrix_workspace_23_11_0
6567
#cloudcompare
6668
cachix
6769
blender-hip
70+
alsa-scarlett-gui
71+
nix-diff
72+
nix-tree
6873
];
6974
}

comb/satwik/homeProfiles/fluidsynth/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{
2-
inputs,
3-
cell,
1+
{ inputs
2+
, cell
3+
,
44
}: {
55
services.fluidsynth = {
66
enable = true;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{ inputs, cell }: {
2+
fonts.fontconfig.enable = true;
3+
}

comb/satwik/homeProfiles/neovim.nix

+111-26
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,47 @@ let
66
nixvim_config = { config, pkgs, ... }:
77
let
88
helpers = config.lib.nixvim;
9+
distant_drv = {
10+
rustPlatform,
11+
fetchFromGitHub,
12+
cmake,
13+
perl,
14+
stdenv,
15+
}: (rustPlatform.buildRustPackage {
16+
17+
pname = "distant";
18+
version = "0.20.0";
19+
src = fetchFromGitHub {
20+
owner="chipsenkbeil";
21+
repo="distant";
22+
rev="v0.20.0";
23+
hash="sha256-DcnleJUAeYg3GSLZljC3gO9ihiFz04dzT/ddMnypr48=";
24+
};
25+
cargoHash = "sha256-7MNNdm4b9u5YNX04nBtKcrw+phUlpzIXo0tJVfcgb40=";
26+
nativeBuildInputs = [
27+
cmake
28+
perl
29+
stdenv.cc.cc.lib
30+
31+
];
32+
doCheck = false;
33+
});
34+
35+
distant = pkgs.callPackage distant_drv {};
936

1037
in
1138
{
1239

1340
programs.nixvim = {
1441
enable = true;
1542
#extraLuaPackages = [cell.packages.luaPackages.nvim-nio cell.packages.luaPackages.neorg];
16-
extraPackages = [ cell.nixpkgs.pkgs.texlive.combined.scheme-full pkgs.dcmtk ];
17-
#globals.mapleader = ";";
43+
extraPackages = [
44+
cell.nixpkgs.pkgs.texlive.combined.scheme-full
45+
pkgs.dcmtk
46+
distant
47+
];
48+
globals.mapleader = ";";
49+
globals.maplocalleader = ";";
1850
colorschemes.onedark.enable = true;
1951
clipboard.providers.wl-copy.enable = true;
2052
opts = {
@@ -45,6 +77,9 @@ let
4577
lsp = {
4678
enable = true;
4779
inlayHints = true;
80+
capabilities = ''
81+
capabilites = require('blink.cmp').get_lsp_capabilities(capabilities)
82+
'';
4883
keymaps = {
4984
diagnostic = {
5085
"<leader>j" = "goto_next";
@@ -57,25 +92,24 @@ let
5792
gi = "implementation";
5893
gt = "type_definition";
5994
gr = "rename";
95+
ga = "code_action";
6096
};
6197

6298
};
6399
servers = {
64100
bashls.enable = true;
65101
clangd.enable = true;
66102
cmake.enable = true;
67-
csharp-ls.enable = true;
103+
csharp_ls.enable = true;
68104
cssls.enable = true;
69105
dartls.enable = true;
70106
html.enable = true;
71107
htmx.enable = true;
72-
lua-ls.enable = true;
108+
lua_ls.enable = true;
73109
#nil_ls.enable = true;
74110
nixd = {
75111
enable = true;
76-
settings = {
77-
formatting.command = [ "nixpkgs-fmt" ];
78-
};
112+
settings = { };
79113
};
80114
basedpyright = {
81115
enable = true;
@@ -116,16 +150,35 @@ let
116150
};
117151
};
118152
};
119-
rust-analyzer = {
120-
enable = false;
121-
installCargo = true;
122-
installRustc = true;
153+
rust_analyzer = {
154+
enable = true;
155+
package = cell.nixpkgs.pkgs.rust-analyzer-nightly;
156+
installCargo = false;
157+
installRustc = false;
158+
settings = {
159+
inlayHints = {
160+
typeHints = {
161+
enable = true;
162+
};
163+
chainingHints.enable = true;
164+
closureReturnTypeHints.enable = "always";
165+
closingBraceHints.enable = true;
166+
discriminantHints.enable = "always";
167+
parameterHints.enable = true;
168+
genericParameterHints = {
169+
const.enable = true;
170+
type.enable = true;
171+
};
172+
173+
};
174+
};
175+
123176
};
124177
svelte = {
125178
enable = true;
126179
};
127180
tailwindcss.enable = true;
128-
tsserver.enable = true;
181+
ts_ls.enable = true;
129182
zls.enable = true;
130183
};
131184
};
@@ -167,11 +220,11 @@ let
167220
renderer = "core.integrations.image";
168221
};
169222
};
170-
"core.completion" = {
171-
config = {
172-
engine = "nvim-cmp";
173-
};
174-
};
223+
#"core.completion" = {
224+
# config = {
225+
# engine = "nvim-cmp";
226+
# };
227+
#};
175228
"core.concealer" = {
176229
config = {
177230
folds = true;
@@ -201,10 +254,10 @@ let
201254
nix-develop.enable = true;
202255
none-ls.enable = true;
203256
nvim-autopairs.enable = true;
204-
cmp-nvim-lsp-document-symbol.enable = true;
205-
cmp-nvim-lsp-signature-help.enable = true;
257+
cmp-nvim-lsp-document-symbol.enable = false;
258+
cmp-nvim-lsp-signature-help.enable = false;
206259
cmp = {
207-
enable = true;
260+
enable = false;
208261
autoEnableSources = true;
209262
settings = {
210263
matching.disallow_partial_fuzzy_matching = false;
@@ -231,7 +284,29 @@ let
231284
};
232285
};
233286
};
234-
cmp-nvim-lsp.enable = true;
287+
cmp-nvim-lsp.enable = false;
288+
blink-cmp = {
289+
enable = true;
290+
settings = {
291+
accept.auto_brackets.enabled=true;
292+
fuzzy = {
293+
use_frecency = true;
294+
use_proximity = true;
295+
};
296+
windows.documentation = {
297+
auto_show = true;
298+
auto_show_delay_ms = 0;
299+
update_delay_ms = 0;
300+
301+
};
302+
keymap = {
303+
preset = "default";
304+
};
305+
306+
307+
};
308+
};
309+
235310
nvim-lightbulb = {
236311
enable = false;
237312
settings = {
@@ -278,7 +353,7 @@ let
278353

279354
};
280355
rustaceanvim = {
281-
enable = true;
356+
enable = false;
282357
rustAnalyzerPackage = cell.nixpkgs.pkgs.rust-analyzer;
283358
settings = {
284359
server = {
@@ -331,6 +406,7 @@ let
331406
treesitter-textobjects.enable = true;
332407
trouble.enable = true;
333408
typescript-tools.enable = true;
409+
web-devicons.enable = true;
334410
which-key.enable = true;
335411
zig.enable = true;
336412
};
@@ -346,15 +422,16 @@ let
346422
rev = "855105a766a0b79da71d10fbc332b414703b7aed";
347423
};
348424
})
425+
pkgs.vimPlugins.distant-nvim
349426
];
350427

351428
extraConfigLuaPre = ''
352-
--local venv_path = os.getenv('VIRTUAL_ENV') -- or vim.fn.exepath('python')
429+
local venv_path = os.getenv('VIRTUAL_ENV') -- or vim.fn.exepath('python')
353430
local path_python = vim.fn.exepath('python')
354431
local py_path = nil
355-
--if venv_path ~= nil then
356-
-- py_path = venv_path .. "/bin/python3"
357-
if path_python ~=nil then
432+
if venv_path ~= nil then
433+
py_path = venv_path .. "/bin/python3"
434+
elseif path_python ~=nil then
358435
py_path = path_python
359436
else
360437
py_path = vim.g.python3_host_prog
@@ -366,8 +443,16 @@ let
366443
require("nvim-surround").setup({
367444
-- Configuration here, or leave empty to use defaults
368445
})
446+
require('distant'):setup({
447+
manager = {
448+
lazy=false,
449+
user=true
450+
}
451+
})
369452
'';
370453
};
454+
455+
371456
};
372457
in
373458
{
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ inputs, cell }: {
22
home.packages = [
3-
inputs.fenix.packages.default.toolchain
3+
#inputs.fenix.packages.stable.toolchain
44
];
55
}

comb/satwik/homeProfiles/ssh/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ in
1818
# matchBlocks = {
1919
# veneprodigy = {
2020
# user = "satwik";
21-
# hostname = "192.168.1.7";
22-
# identityFile = [ "/home/satwik/.ssh/personal_server" ];
23-
# };
21+
## hostname = "192.168.1.7";
22+
# identityFile = [ "/home/satwik/.ssh/personal_server" ];
23+
## };
2424
# };
2525
#};
2626
#services.ssh-agent.enable = true;

0 commit comments

Comments
 (0)