Merge
This commit is contained in:
2024-11-30 18:30:08 +01:00
15 changed files with 310 additions and 68 deletions

View File

@@ -3,21 +3,25 @@
{
home.packages = with pkgs; [
unstable.marksman
unstable.markdown-oxide
unstable.svls
unstable.nil
unstable.nixpkgs-fmt
unstable.vale-ls
unstable.vale
unstable.tectonic
unstable.texlab
dprint
];
home.file.".config/vale/.vale.ini".text = ''
StylesPath = ~/.local/share/vale/styles
MinAlertLevel = suggestion
Packages = Readability
[*]
BasedOnStyles = Vale
home.file.".config/.dprint.json".text =''
{
"markdown": {
"lineWidth":120,
},
"excludes": [],
"plugins": [
"https://plugins.dprint.dev/markdown-0.16.1.wasm"
]
}
'';
programs.helix = {
@@ -43,9 +47,38 @@
command = "svls";
};
# Vale
language-server.vale = {
command = "vale-ls";
language-server.texlab = {
config = {
texlab.chktex = {
onOpenAndSave = true;
onEdit = true;
};
texlab.forwardSearch = {
executable = "zathura";
args = [
"--synctex-forward"
"%l:%c:%f"
"%p"
];
};
texlab.build = {
auxDirectory = "build";
logDirectory = "build";
pdfDirectory = "build";
forwardSearchAfter = true;
onSave = true;
executable = "tectonic";
args = [
"-X"
"compile"
"--synctex"
"--keep-logs"
"--keep-intermediates"
"--outdir=build"
"%f"
];
};
};
};
language = [
@@ -53,10 +86,6 @@
name = "verilog";
language-servers = [ "svls" ];
}
{
name = "nix";
language-servers = [ "svls" ];
}
{
name = "html";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
@@ -67,7 +96,15 @@
}
{
name = "markdown";
language-servers = [ "vale" ];
auto-format = true;
language-servers = [ "markdown-oxide" ];
formatter.command = "dprint";
formatter.args = ["fmt" "--stdin" "md" "--config" "/home/xeovalyte/.config/.dprint.json"];
}
{
name = "typst";
auto-format = false;
formatter.command = "${pkgs.typstfmt}/bin/typstfmt";
}
];
};

View File

@@ -23,6 +23,11 @@
keybinds {
normal {
bind "Ctrl e" { ToggleFloatingPanes; SwitchToMode "normal"; }
bind "Ctrl 1" { GoToTab 1; }
bind "Ctrl 2" { GoToTab 2; }
bind "Ctrl 3" { GoToTab 3; }
bind "Ctrl 4" { GoToTab 4; }
bind "Ctrl 5" { GoToTab 5; }
}
}
'';
@@ -44,4 +49,39 @@
}
'';
};
home.file.zellij-layout-dioxus = {
target = ".config/zellij/layouts/dioxus.kdl";
text = ''
layout {
tab {
pane {
command "hx"
args "."
focus true
}
floating_panes {
pane {
width "80%"
height "80%"
x "10%"
y "10%"
}
}
}
tab {
pane {
command "dx"
args "serve"
}
}
tab {
pane {
command "devenv"
args "up"
}
}
}
'';
};
}

View File

@@ -60,16 +60,20 @@
name = "Brightspace";
bookmarks = [
{
name = "LCA";
url = "https://brightspace.tudelft.nl/d2l/le/content/681008/Home";
name = "Books";
url = "https://drive.google.com/drive/folders/1L5OTbn5p3i7_Nc80hc5PztiEGHKwi-I4";
}
{
name = "DSA";
url = "https://brightspace.tudelft.nl/d2l/le/content/681012/Home";
name = "LCB";
url = "https://brightspace.tudelft.nl/d2l/le/content/681010/Home";
}
{
name = "iEE";
url = "https://brightspace.tudelft.nl/d2l/le/content/681018/Home";
name = "Calculus";
url = "https://brightspace.tudelft.nl/d2l/le/content/681024/Home";
}
{
name = "IP1";
url = "https://brightspace.tudelft.nl/d2l/le/content/681020/Home";
}
];
}

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, ... }:
{
fonts.fontconfig.enable = true;
@@ -8,6 +8,8 @@
fira-code
font-awesome
dejavu_fonts
roboto
(nerdfonts.override { fonts = [ "DejaVuSansMono" ]; })
inputs.apple-fonts.packages.${pkgs.system}.sf-pro
];
}

View File

@@ -51,6 +51,7 @@
follow_mouse = 2;
touchpad = {
natural_scroll = true;
scroll_factor = 0.5;
clickfinger_behavior = true;
};
};
@@ -68,10 +69,7 @@
decoration = {
rounding = "5";
drop_shadow = "false";
blur.enabled = "false";
shadow_render_power = "3";
"col.shadow" = "rgba(1a1a1aee)";
};
gestures = {

View File

@@ -3,14 +3,13 @@
{
boot.initrd.kernelModules = [ "amdgpu" ];
hardware.opengl.enable = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
amdvlk
mesa.drivers
];
hardware.opengl.extraPackages32 = with pkgs; [
hardware.graphics.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];