add logseq properly
This commit is contained in:
parent
e2c05db404
commit
240ef234a4
4 changed files with 22 additions and 6 deletions
|
@ -5,7 +5,7 @@ let
|
||||||
defaultRootKeyFiles = [ (toString ../../../assets/ssh/palo_rsa.pub) ];
|
defaultRootKeyFiles = [ (toString ../../../assets/ssh/palo_rsa.pub) ];
|
||||||
cfg = config.components.network.sshd;
|
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"
|
sshBanner = pkgs.runCommand "ssh-banner"
|
||||||
{
|
{
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -89,7 +89,7 @@ in
|
||||||
(mkIf cfg.sshguard.enable {
|
(mkIf cfg.sshguard.enable {
|
||||||
environment.systemPackages = [ pkgs.ipset ];
|
environment.systemPackages = [ pkgs.ipset ];
|
||||||
services.sshguard.enable = lib.mkDefault true;
|
services.sshguard.enable = lib.mkDefault true;
|
||||||
} )
|
})
|
||||||
|
|
||||||
(mkIf (cfg.onlyTincAccess && cfg.enable) {
|
(mkIf (cfg.onlyTincAccess && cfg.enable) {
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.extraCommands = ''
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
18
nixos/homes/palo/packages/logseq.nix
Normal file
18
nixos/homes/palo/packages/logseq.nix
Normal 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 = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue