add logseq properly

feature/clan.lol
Ingolf Wagner 2024-04-16 17:19:20 +02:00
parent e2c05db404
commit 240ef234a4
Signed by: palo
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