ctucx.git: nixfiles

ctucx' nixfiles

commit eec1bd971a7ab1815f99600981e8802f67737777
parent 6ff9cc03cfbd033fdab5e3281f0b8e2c89601d0c
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 19 Nov 2024 11:21:50 +0100

configurations/linux/services/syncthing: change default user to `katja`
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/configurations/linux/services/syncthing.nix b/configurations/linux/services/syncthing.nix
@@ -15,11 +15,11 @@ in {
     age.secrets = {
       syncthing-key = {
         file  = ../../../secrets + "/${config.networking.hostName}/syncthing/key.age";
-        owner = "leah";
+        owner = "katja";
       };
       syncthing-cert = {
         file  = ../../../secrets + "/${config.networking.hostName}/syncthing/cert.age";
-        owner = "leah";
+        owner = "katja";
       };
     };
 

@@ -29,14 +29,14 @@ in {
       enable           = true;
       openDefaultPorts = true;
 
-      user             = "leah";
+      user             = "katja";
       group            = "users";
 
       key              = lib.mkDefault config.age.secrets.syncthing-key.path;
       cert             = lib.mkDefault config.age.secrets.syncthing-cert.path;
 
-      dataDir          = lib.mkDefault "/home/leah";
-      configDir        = lib.mkDefault "/home/leah/.config/syncthing";
+      dataDir          = lib.mkDefault "/home/katja";
+      configDir        = lib.mkDefault "/home/katja/.config/syncthing";
 
       settings.devices = syncthingConfig.devices;
       settings.folders = syncthingConfig.folders;