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

@ -5,7 +5,7 @@ let
defaultRootKeyFiles = [ (toString ../../../assets/ssh/palo_rsa.pub) ];
cfg = config.components.network.sshd;
# maybe ascii-image-converter is also nice here
# maybe ascii-image-converter is also nice here
sshBanner = pkgs.runCommand "ssh-banner"
{
nativeBuildInputs = [
@ -89,7 +89,7 @@ in
(mkIf cfg.sshguard.enable {
environment.systemPackages = [ pkgs.ipset ];
services.sshguard.enable = lib.mkDefault true;
} )
})
(mkIf (cfg.onlyTincAccess && cfg.enable) {
networking.firewall.extraCommands = ''

View file

@ -2,8 +2,9 @@
imports = [
./development.nix
./graphics.nix
./logseq.nix
./nextcloud.nix
./social.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 {
# ¯\_(ツ)_/¯
home.packages = [
@ -43,7 +41,6 @@ with lib;
rbw
unstable.trilium-desktop # old (use logseq now)
unstable.logseq
nginx-config-formatter