This commit is contained in:
2025-08-12 19:32:49 +00:00
parent 2a40e49f70
commit fc6bf69f00
22 changed files with 102 additions and 98 deletions

View File

@@ -2,6 +2,7 @@
pkgs,
hostname,
user,
hostMeta,
...
}: {
imports = [
@@ -50,13 +51,20 @@
nameservers = ["1.1.1.1"];
};
# sops.secrets = {
# tahani-syncthing-cert = {
# sopsFile = "./secrets/tahani-syncthing-cert";
# format = "binary";
# path = "/home/${user}/.config/syncthing/cert.pem";
# };
# };
sops.secrets = {
tahani-syncthing-cert = {
sopsFile = ../../../secrets/tahani-syncthing-cert;
format = "binary";
owner = user;
path = "/home/${user}/.config/syncthing/cert.pem";
};
tahani-syncthing-key = {
sopsFile = ../../../secrets/tahani-syncthing-key;
format = "binary";
owner = user;
path = "/home/${user}/.config/syncthing/key.pem";
};
};
services.syncthing = {
enable = true;
@@ -73,6 +81,12 @@
devices = {};
options.globalAnnounceEnabled = false;
};
folders = {
"Projects" = {
path = "/home/${user}/Projects";
devices = [];
};
};
};
services.postgresql = {
@@ -110,6 +124,6 @@
};
home-manager.users.${user} = {
programs.git.userEmail = "christoph@schmatzler.com";
programs.git.userEmail = hostMeta.email;
};
}