This commit is contained in:
Christoph Schmatzler
2025-08-14 07:57:41 +02:00
parent 1db8918434
commit 9218a5b47a
4 changed files with 27 additions and 10 deletions

View File

@@ -10,6 +10,13 @@
networking.hostName = "chidi";
networking.computerName = "Chidi";
services.syncthing.settings.folders = {
"Projects/Work" = {
path = "/Users/${user}/Projects/Work";
devices = ["tahani" "chidi"];
};
};
home-manager.users.${user} = {
programs.git.userEmail = "christoph@tuist.dev";
};

View File

@@ -9,6 +9,13 @@
networking.hostName = "jason";
networking.computerName = "Jason";
services.syncthing.settings.folders = {
"Projects/Personal" = {
path = "/Users/${user}/Projects/Personal";
devices = ["tahani" "jason"];
};
};
home-manager.users.${user} = {
programs.git.userEmail = "christoph@schmatzler.com";
};

View File

@@ -100,6 +100,17 @@
enable = true;
};
services.syncthing.settings.folders = {
"Projects/Personal" = {
path = "/home/${user}/Projects/Personal";
devices = ["tahani" "jason"];
};
"Projects/Work" = {
path = "/home/${user}/Projects/Work";
devices = ["tahani" "chidi"];
};
};
home-manager.users.${user} = {
programs.git.userEmail = "christoph@schmatzler.com";
};

View File

@@ -1,6 +1,7 @@
{
user,
pkgs,
lib,
...
}: let
isDarwin = pkgs.stdenv.isDarwin;
@@ -33,16 +34,7 @@ in {
"jason" = {id = "42II2VO-QYPJG26-ZS3MB2I-AOPVZ67-JJNSE76-U54CO5Y-634A5OG-ECU4YQA";};
"chidi" = {id = "N7W6SUT-QO6J4BE-T3Y65SM-OFGYGNV-TGYBJPX-JVN4Z72-AENZ247-KWXOQA6";};
};
folders = {
"Projects-Personal" = {
path = "${platformConfig.homeDir}/Projects/Personal";
devices = ["tahani" "jason"];
};
"Projects-Work" = {
path = "${platformConfig.homeDir}/Projects/Work";
devices = ["tahani" "chidi"];
};
};
options.globalAnnounceEnabled = false;
};
};