Add logseq shortcut to Plasma 6 bar
This commit is contained in:
parent
45148bc7dd
commit
c2d16bf6d0
5 changed files with 13 additions and 4 deletions
|
@ -84,6 +84,7 @@
|
||||||
"applications:bitwarden.desktop"
|
"applications:bitwarden.desktop"
|
||||||
"applications:org.kde.konsole.desktop"
|
"applications:org.kde.konsole.desktop"
|
||||||
"applications:steam.desktop"
|
"applications:steam.desktop"
|
||||||
|
"applications:logseq.desktop"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{pkgs, username, hostname, config, deployment_type, ... }: {
|
{ username, hostname, deployment_type, ... }: {
|
||||||
# Set up the secrets file:
|
# Set up the secrets file:
|
||||||
sops.secrets."syncthing_cert" = {
|
sops.secrets."syncthing_cert" = {
|
||||||
owner = "root";
|
owner = "root";
|
||||||
|
@ -11,8 +11,14 @@
|
||||||
restartUnits = [ "syncthing.service" ];
|
restartUnits = [ "syncthing.service" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.interfaces.tailscale0 = {
|
||||||
|
allowedTCPPorts = [ 8384 22000 ];
|
||||||
|
allowedUDPPorts = [ 22000 21027 ];
|
||||||
|
};
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
urAccepted = "-1";
|
||||||
cert = "/run/secrets/syncthing_cert";
|
cert = "/run/secrets/syncthing_cert";
|
||||||
key = "/run/secrets/syncthing_key";
|
key = "/run/secrets/syncthing_key";
|
||||||
user = "${username}";
|
user = "${username}";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs-unstable, pkgs, ... }: {
|
{ pkgs-unstable, ... }: {
|
||||||
# Enable tailscale and open port 22 on it
|
# Enable tailscale and open port 22 on it
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -19,6 +19,8 @@
|
||||||
# Because of the split DNS, hosts forget which IP
|
# Because of the split DNS, hosts forget which IP
|
||||||
# (external or internal) is promtail/loki.
|
# (external or internal) is promtail/loki.
|
||||||
# Setting them manually here helps.
|
# Setting them manually here helps.
|
||||||
|
|
||||||
|
# TODO: Update these when I move the server to warsaw-ovh-01
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
100.64.0.14 influx.sysctl.io
|
100.64.0.14 influx.sysctl.io
|
||||||
100.64.0.14 loki.sysctl.io
|
100.64.0.14 loki.sysctl.io
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"logseq" = {
|
"logseq" = {
|
||||||
id = "logseq";
|
id = "logseq";
|
||||||
path = "/home/${username}/.logseq";
|
path = "/home/${username}/.logseq";
|
||||||
devices = [ "framework-server" "nixos-desktop" "nixos-framework" "rdesktop" ];
|
devices = [ "framework-server" "nixos-desktop" "nixos-framework" "rdesktop" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, hostname, username, ... }: {
|
{ username, ... }: {
|
||||||
imports = [ ../../common/services/syncthing.nix ];
|
imports = [ ../../common/services/syncthing.nix ];
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
|
|
Loading…
Reference in a new issue