feat: add T430 to syncthing

This commit is contained in:
Jacob Bachmann 2024-03-26 12:47:06 +01:00
parent ce2b2501a1
commit bd35bb32a9
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
4 changed files with 17 additions and 11 deletions

View file

@ -4,16 +4,6 @@
networking.hostName = "IROH";
services.syncthing = {
settings = {
devices = {
IROH = {
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
};
};
};
};
bchmnn = {
gui = {

View file

@ -1,5 +1,6 @@
{ ... }: {
imports = [ ./hardware.nix ];
networking.hostName = "T430";

View file

@ -58,7 +58,7 @@
enable = gui.greeter.enable;
settings = {
default_session = {
command = "sway-run --config /etc/greetd/sway-config" + lib.optionals nvidia.enable " --unsupported-gpu";
command = "sway-run --config /etc/greetd/sway-config" + lib.optionalString nvidia.enable " --unsupported-gpu";
};
};
};

View file

@ -1,9 +1,24 @@
{ ... }: {
services.syncthing = {
};
services.syncthing = {
enable = true;
openDefaultPorts = true;
settings = {
devices = {
T430 = {
id = "UGQINNI-SC6F24X-5JE7YTP-LZLORTX-7GQ5NKK-YMRDRPK-JHRTWUV-4ILUJQQ";
};
IROH = {
id = "PJA2MBA-66PQQEO-5KICONS-FGHDH46-YRV2X5Y-47UUP77-QXI2WNS-R33FPAK";
};
};
};
user = "gandalf";
dataDir = "/home/gandalf";