Compare commits

..

No commits in common. "ecace87070620c622297e7d9a899a32ea5acd3d0" and "c948a1136e28459070025c0560d277927437af4c" have entirely different histories.

4 changed files with 3 additions and 62 deletions

View File

@ -52,6 +52,7 @@
unstable.vesktop unstable.vesktop
unstable.blender unstable.blender
loupe loupe
unstable.surrealist
unstable.rnote unstable.rnote
# Office # Office
@ -66,9 +67,7 @@
# Development # Development
unstable.drawio unstable.drawio
unstable.ghostwriter
# Scripts
(import ../../modules/scripts/save_image.nix { inherit pkgs; })
]; ];
# Enable home-manager # Enable home-manager

View File

@ -6,20 +6,8 @@
unstable.svls unstable.svls
unstable.nil unstable.nil
unstable.nixpkgs-fmt unstable.nixpkgs-fmt
unstable.vale-ls
unstable.vale
]; ];
home.file.".config/vale/.vale.ini".text = ''
StylesPath = ~/.local/share/vale/styles
MinAlertLevel = suggestion
Packages = Readability
[*]
BasedOnStyles = Vale
'';
programs.helix = { programs.helix = {
enable = true; enable = true;
package = pkgs.unstable.helix; package = pkgs.unstable.helix;
@ -43,11 +31,6 @@
command = "svls"; command = "svls";
}; };
# Vale
language-server.vale = {
command = "vale-ls";
};
language = [ language = [
{ {
name = "verilog"; name = "verilog";
@ -57,18 +40,6 @@
name = "nix"; name = "nix";
language-servers = [ "svls" ]; language-servers = [ "svls" ];
} }
{
name = "html";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
}
{
name = "css";
language-servers = [ "vscode-html-language-server" "tailwindcss-ls" ];
}
{
name = "markdown";
language-servers = [ "vale" ];
}
]; ];
}; };
themes = { themes = {

View File

@ -26,7 +26,7 @@
DisableFirefoxAccounts = true; DisableFirefoxAccounts = true;
DisableAccounts = true; DisableAccounts = true;
DontCheckDefaultBrowser = true; DontCheckDefaultBrowser = true;
DisplayBookmarksToolbar = "newpage"; DisplayBookmarksToolbar = "never";
ExtensionSettings = { ExtensionSettings = {
"nl-NL@dictionaries.addons.mozilla.org" = { "nl-NL@dictionaries.addons.mozilla.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/woordenboek-nederlands/latest.xpi"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/woordenboek-nederlands/latest.xpi";
@ -44,10 +44,6 @@
install_url = "https://addons.mozilla.org/firefox/downloads/latest/pwas-for-firefox/latest.xpi"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/pwas-for-firefox/latest.xpi";
installation_mode = "force_installed"; installation_mode = "force_installed";
}; };
"markdown-viewer@outofindex.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/markdown-viewer-chrome/latest.xpi";
installation_mode = "force_installed";
};
}; };
}; };
profiles.xeovalyte = { profiles.xeovalyte = {

View File

@ -1,25 +0,0 @@
{ pkgs, ... }:
pkgs.writeShellScriptBin "saveimage" ''
# Check if an argument is provided
if [ -z "$1" ]; then
echo "Usage: $0 <filename>"
exit 1
fi
# Create the assets directory if it doesn't exist
mkdir -p assets
# Set the output path in the assets directory
OUTPUT_PATH="assets/$1.png"
# Save the clipboard image to the specified file in assets directory
wl-paste --type image/png > "$OUTPUT_PATH"
# Check if the file was successfully saved
if [ $? -eq 0 ]; then
echo "Image saved to $OUTPUT_PATH"
else
echo "Failed to save the image"
fi
''