add logseq properly

This commit is contained in:
Ingolf Wagner 2024-04-16 17:19:20 +02:00
parent e2c05db404
commit 240ef234a4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 22 additions and 6 deletions

View file

@ -2,8 +2,9 @@
imports = [ imports = [
./development.nix ./development.nix
./graphics.nix ./graphics.nix
./logseq.nix
./nextcloud.nix ./nextcloud.nix
./social.nix
./packages.nix ./packages.nix
./social.nix
]; ];
} }

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
with pkgs;
with lib;
{
config = mkIf config.gui.enable {
home.packages = [
unstable.logseq
];
home.file.".config/Logseq/Preferences".source = (pkgs.formats.json { }).generate "LogseqPreferences.json"
{
spellcheck = {
dictionaries = [ "en-US" "de-DE" ];
dictionary = "";
};
};
};
}

View file

@ -5,8 +5,6 @@ with lib;
config = mkIf config.gui.enable { config = mkIf config.gui.enable {
# ¯\_(ツ)_/¯ # ¯\_(ツ)_/¯
home.packages = [ home.packages = [
@ -43,7 +41,6 @@ with lib;
rbw rbw
unstable.trilium-desktop # old (use logseq now) unstable.trilium-desktop # old (use logseq now)
unstable.logseq
nginx-config-formatter nginx-config-formatter