mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix syncthing
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<modules/seafile.nix>
|
||||
<modules/google-drive.nix>
|
||||
<modules/dropbox.nix>
|
||||
<stockholm/krebs/3modules/permown.nix>
|
||||
<stockholm/krebs/3modules/syncthing.nix>
|
||||
];
|
||||
|
||||
@@ -20,9 +19,10 @@
|
||||
|
||||
services.syncthing = rec {
|
||||
enable = true;
|
||||
group = "syncthing";
|
||||
user = "kfm";
|
||||
openDefaultPorts = true;
|
||||
configDir = "/var/lib/syncthing";
|
||||
configDir = "/home/kfm/.config/syncthing";
|
||||
dataDir = "/home/kfm/.config/syncthing";
|
||||
};
|
||||
|
||||
krebs.syncthing = rec {
|
||||
@@ -37,10 +37,4 @@
|
||||
folders."${config.users.users.me.home}/cloud/syncthing/library".peers = lib.attrNames peers;
|
||||
folders."${config.users.users.me.home}/cloud/syncthing/mundoiu".peers = lib.attrNames peers;
|
||||
};
|
||||
|
||||
krebs.permown = with lib; flip mapAttrs config.krebs.syncthing.folders (_: _: {
|
||||
owner = config.users.users.me.name;
|
||||
group = "syncthing";
|
||||
umask = "0007";
|
||||
});
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ let
|
||||
|
||||
minimal = path: other: lib.evalSource [(niveum path // other)];
|
||||
|
||||
regular = path: minimal path (niveum path // {
|
||||
regular = path: minimal path {
|
||||
home-manager.git = {
|
||||
url = https://github.com/rycee/home-manager;
|
||||
ref = "2ccbf43";
|
||||
@@ -41,7 +41,7 @@ let
|
||||
url = https://cgit.krebsco.de/stockholm;
|
||||
ref = "1340e3fb";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
systems.scardanelli = pkgs.krops.writeDeploy "deploy-scardanelli" {
|
||||
source = regular ./systems/scardanelli;
|
||||
|
||||
Reference in New Issue
Block a user