Config chagnes

This commit is contained in:
xeovalyte 2024-10-23 10:17:17 +02:00
parent 74b0efc9ee
commit 1583241c31
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
3 changed files with 26 additions and 28 deletions

12
flake.lock generated
View File

@ -58,11 +58,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1728067476, "lastModified": 1728909085,
"narHash": "sha256-/uJcVXuBt+VFCPQIX+4YnYrHaubJSx4HoNsJVNRgANM=", "narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e6b3dd395c3b1eb9be9f2d096383a8d05add030", "rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -88,11 +88,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1728018373, "lastModified": 1728888510,
"narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=", "narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bc947f541ae55e999ffdb4013441347d83b00feb", "rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -1,4 +1,4 @@
{ pkgs, lib, config, ... }: { pkgs, lib, ... }:
{ {
imports = [ imports = [
@ -45,12 +45,14 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# Desktop Applications # Desktop Applications
kdenlive kdenlive
unstable.prismlauncher prismlauncher
unstable.joplin-desktop unstable.joplin-desktop
unstable.prusa-slicer unstable.prusa-slicer
signal-desktop signal-desktop
unstable.vesktop unstable.vesktop
unstable.goofcord
unstable.blender unstable.blender
unstable.legcord
loupe loupe
unstable.rnote unstable.rnote

View File

@ -3,21 +3,23 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.marksman unstable.marksman
unstable.markdown-oxide
unstable.svls unstable.svls
unstable.nil unstable.nil
unstable.nixpkgs-fmt unstable.nixpkgs-fmt
unstable.vale-ls dprint
unstable.vale
]; ];
home.file.".config/vale/.vale.ini".text = '' home.file.".config/.dprint.json".text =''
StylesPath = ~/.local/share/vale/styles {
"markdown": {
MinAlertLevel = suggestion "lineWidth":120,
Packages = Readability },
"excludes": [],
[*] "plugins": [
BasedOnStyles = Vale "https://plugins.dprint.dev/markdown-0.16.1.wasm"
]
}
''; '';
programs.helix = { programs.helix = {
@ -43,20 +45,11 @@
command = "svls"; command = "svls";
}; };
# Vale
language-server.vale = {
command = "vale-ls";
};
language = [ language = [
{ {
name = "verilog"; name = "verilog";
language-servers = [ "svls" ]; language-servers = [ "svls" ];
} }
{
name = "nix";
language-servers = [ "svls" ];
}
{ {
name = "html"; name = "html";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ]; language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
@ -67,7 +60,10 @@
} }
{ {
name = "markdown"; 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"];
} }
]; ];
}; };