nix: setup syncthing, adapt open-messaging script

This commit is contained in:
Julian Mutter 2023-07-28 06:52:36 +02:00
parent 1e1fa989d9
commit 83bf3f21d5
2 changed files with 16 additions and 0 deletions

View File

@ -19,6 +19,16 @@ start_program()
}
i3-msg 'workspace 9; append_layout ~/.config/i3/workspace-chat-schildi-tele-rocket.json'
{{#if dotter.packages.nix}}
start_program schildichat-desktop
sleep 0.1
start_program telegram-desktop
sleep 0.1
start_program rocketchat-desktop
sleep 0.1
start_program thunderbird
sleep 0.1
{{else}}
start_program chat.schildi.desktop
sleep 0.1
start_program telegram-desktop
@ -27,3 +37,4 @@ start_program chat.rocket.RocketChat
sleep 0.1
start_program thunderbird
sleep 0.1
{{/if}}

View File

@ -270,6 +270,7 @@
sqlite
nomacs
rocketchat-desktop
];
nixpkgs.overlays = [
@ -304,6 +305,10 @@
# Enable the OpenSSH daemon.
services.openssh.enable = false;
services.syncthing.enable = true;
services.syncthing.user = "julian";
services.syncthing.group = "julian";
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];