fwminex: +synthing
This commit is contained in:
parent
6d6d68584e
commit
6a54c9f69d
@ -124,6 +124,13 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
syncthing = {
|
||||
enable = true;
|
||||
dataDir = "/home/motiejus/";
|
||||
user = "motiejus";
|
||||
group = "users";
|
||||
};
|
||||
|
||||
remote-builder.client =
|
||||
let
|
||||
host = myData.hosts."fra1-a.servers.jakst";
|
||||
|
@ -135,10 +135,7 @@
|
||||
{
|
||||
mountpoint = "/home";
|
||||
repo = "zh2769@zh2769.rsync.net:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
|
||||
paths = [
|
||||
"motiejus/annex2"
|
||||
"motiejus/.config/syncthing"
|
||||
];
|
||||
paths = [ "motiejus/annex2" ];
|
||||
backup_at = "*-*-* 02:00:00 UTC";
|
||||
}
|
||||
{
|
||||
@ -146,10 +143,7 @@
|
||||
repo = "borgstor@${
|
||||
myData.hosts."vno3-rp3b.servers.jakst".jakstIP
|
||||
}:${config.networking.hostName}.${config.networking.domain}-home-motiejus-annex2";
|
||||
paths = [
|
||||
"motiejus/annex2"
|
||||
"motiejus/.config/syncthing"
|
||||
];
|
||||
paths = [ "motiejus/annex2" ];
|
||||
backup_at = "*-*-* 02:00:00 UTC";
|
||||
}
|
||||
];
|
||||
|
@ -212,7 +212,9 @@ in
|
||||
settings = {
|
||||
devices =
|
||||
{ }
|
||||
// (lib.optionalAttrs (config.networking.hostName == "vno1-oh2") {
|
||||
// (lib.optionalAttrs
|
||||
(config.networking.hostName == "vno1-oh2" || config.networking.hostName == "fwminex")
|
||||
{
|
||||
inherit (devices)
|
||||
fwminex
|
||||
mtworx
|
||||
@ -225,20 +227,8 @@ in
|
||||
v-kfire
|
||||
a-kfire
|
||||
;
|
||||
})
|
||||
// (lib.optionalAttrs (config.networking.hostName == "fwminex") {
|
||||
inherit (devices)
|
||||
fwminex
|
||||
mtworx
|
||||
vno1-oh2
|
||||
mxp10
|
||||
rzj-744P2PE
|
||||
sqq1-desk
|
||||
vno1-vinc
|
||||
v-kfire
|
||||
a-kfire
|
||||
;
|
||||
})
|
||||
}
|
||||
)
|
||||
// (lib.optionalAttrs (config.networking.hostName == "mtworx") {
|
||||
inherit (devices)
|
||||
mtworx
|
||||
@ -256,7 +246,9 @@ in
|
||||
folders =
|
||||
with folders;
|
||||
{ }
|
||||
// (lib.optionalAttrs (config.networking.hostName == "vno1-oh2") {
|
||||
// (lib.optionalAttrs
|
||||
(config.networking.hostName == "vno1-oh2" || config.networking.hostName == "fwminex")
|
||||
{
|
||||
"/var/www/dl/tel" = www-mxp10;
|
||||
"/var/www/dl/fwminex" = www-fwminex;
|
||||
"/var/www/dl/mtworx" = www-mtworx;
|
||||
@ -274,7 +266,8 @@ in
|
||||
"${cfg.dataDir}/video/Vaikai" = Vaikai;
|
||||
"${cfg.dataDir}/music" = Music;
|
||||
"${cfg.dataDir}/irenos" = Irenos;
|
||||
})
|
||||
}
|
||||
)
|
||||
// (lib.optionalAttrs (config.networking.hostName == "mtworx") {
|
||||
"${cfg.dataDir}/M-Active" = M-Active;
|
||||
"${cfg.dataDir}/M-Camera" = M-Camera;
|
||||
@ -283,20 +276,6 @@ in
|
||||
"${cfg.dataDir}/Video" = video-shared;
|
||||
"${cfg.dataDir}/music" = Music;
|
||||
"${cfg.dataDir}/www" = www-mtworx;
|
||||
})
|
||||
// (lib.optionalAttrs (config.networking.hostName == "fwminex") {
|
||||
"${cfg.dataDir}/.cache/evolution" = Mail;
|
||||
"${cfg.dataDir}/Books" = Books;
|
||||
"${cfg.dataDir}/M-Active" = M-Active;
|
||||
"${cfg.dataDir}/M-Documents" = M-Documents;
|
||||
"${cfg.dataDir}/M-Camera" = M-Camera;
|
||||
"${cfg.dataDir}/Pictures" = Pictures;
|
||||
"${cfg.dataDir}/Music" = Music;
|
||||
"${cfg.dataDir}/M-R" = M-R;
|
||||
"${cfg.dataDir}/Vaikai" = Vaikai;
|
||||
"${cfg.dataDir}/Video" = video-shared;
|
||||
"${cfg.dataDir}/stud-cache" = stud-cache;
|
||||
"${cfg.dataDir}/www" = www-fwminex;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user