l: reorganize syncs
This commit is contained in:
parent
f6e73456d0
commit
bfff3b0a69
@ -9,19 +9,12 @@ with import <stockholm/lib>;
|
|||||||
|
|
||||||
<stockholm/lass/2configs/blue.nix>
|
<stockholm/lass/2configs/blue.nix>
|
||||||
<stockholm/lass/2configs/syncthing.nix>
|
<stockholm/lass/2configs/syncthing.nix>
|
||||||
|
<stockholm/lass/2configs/sync/decsync.nix>
|
||||||
|
<stockholm/lass/2configs/sync/weechat.nix>
|
||||||
];
|
];
|
||||||
|
|
||||||
krebs.build.host = config.krebs.hosts.blue;
|
krebs.build.host = config.krebs.hosts.blue;
|
||||||
|
|
||||||
krebs.syncthing.folders = [
|
|
||||||
{ id = "contacts"; path = "/home/lass/contacts"; peers = [ "mors" "blue" "green" "phone" ]; }
|
|
||||||
{ path = "/home/lass/.weechat"; peers = [ "blue" "green" "mors" ]; }
|
|
||||||
];
|
|
||||||
lass.ensure-permissions = [
|
|
||||||
{ folder = "/home/lass/contacts"; owner = "lass"; group = "syncthing"; }
|
|
||||||
{ folder = "/home/lass/.weechat"; owner = "lass"; group = "syncthing"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
deploy = pkgs.writeDash "deploy" ''
|
deploy = pkgs.writeDash "deploy" ''
|
||||||
set -eu
|
set -eu
|
||||||
|
@ -8,21 +8,13 @@ with import <stockholm/lib>;
|
|||||||
<stockholm/lass/2configs/exim-retiolum.nix>
|
<stockholm/lass/2configs/exim-retiolum.nix>
|
||||||
<stockholm/lass/2configs/mail.nix>
|
<stockholm/lass/2configs/mail.nix>
|
||||||
|
|
||||||
#<stockholm/lass/2configs/blue.nix>
|
|
||||||
<stockholm/lass/2configs/syncthing.nix>
|
<stockholm/lass/2configs/syncthing.nix>
|
||||||
|
<stockholm/lass/2configs/sync/decsync.nix>
|
||||||
|
<stockholm/lass/2configs/sync/weechat.nix>
|
||||||
];
|
];
|
||||||
|
|
||||||
krebs.build.host = config.krebs.hosts.green;
|
krebs.build.host = config.krebs.hosts.green;
|
||||||
|
|
||||||
krebs.syncthing.folders = [
|
|
||||||
{ id = "contacts"; path = "/home/lass/contacts"; peers = [ "mors" "blue" "green" "phone" ]; }
|
|
||||||
{ path = "/home/lass/.weechat"; peers = [ "blue" "green" "mors" ]; }
|
|
||||||
];
|
|
||||||
lass.ensure-permissions = [
|
|
||||||
{ folder = "/home/lass/contacts"; owner = "lass"; group = "syncthing"; }
|
|
||||||
{ folder = "/home/lass/.weechat"; owner = "lass"; group = "syncthing"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
#networking.nameservers = [ "1.1.1.1" ];
|
#networking.nameservers = [ "1.1.1.1" ];
|
||||||
|
|
||||||
#time.timeZone = "Europe/Berlin";
|
#time.timeZone = "Europe/Berlin";
|
||||||
|
@ -26,6 +26,8 @@ with import <stockholm/lib>;
|
|||||||
<stockholm/lass/2configs/syncthing.nix>
|
<stockholm/lass/2configs/syncthing.nix>
|
||||||
<stockholm/lass/2configs/otp-ssh.nix>
|
<stockholm/lass/2configs/otp-ssh.nix>
|
||||||
<stockholm/lass/2configs/c-base.nix>
|
<stockholm/lass/2configs/c-base.nix>
|
||||||
|
<stockholm/lass/2configs/sync/decsync.nix>
|
||||||
|
<stockholm/lass/2configs/sync/weechat.nix>
|
||||||
<stockholm/lass/2configs/br.nix>
|
<stockholm/lass/2configs/br.nix>
|
||||||
<stockholm/lass/2configs/ableton.nix>
|
<stockholm/lass/2configs/ableton.nix>
|
||||||
<stockholm/lass/2configs/starcraft.nix>
|
<stockholm/lass/2configs/starcraft.nix>
|
||||||
@ -50,14 +52,10 @@ with import <stockholm/lib>;
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
krebs.syncthing.folders = [
|
krebs.syncthing.folders = [
|
||||||
{ id = "contacts"; path = "/home/lass/contacts"; peers = [ "mors" "blue" "green" "phone" ]; }
|
|
||||||
{ id = "the_playlist"; path = "/home/lass/tmp/the_playlist"; peers = [ "mors" "phone" "prism" ]; }
|
{ id = "the_playlist"; path = "/home/lass/tmp/the_playlist"; peers = [ "mors" "phone" "prism" ]; }
|
||||||
{ path = "/home/lass/.weechat"; peers = [ "blue" "green" "mors" ]; }
|
|
||||||
];
|
];
|
||||||
lass.ensure-permissions = [
|
lass.ensure-permissions = [
|
||||||
{ folder = "/home/lass/contacts"; owner = "lass"; group = "syncthing"; }
|
|
||||||
{ folder = "/home/lass/tmp/the_playlist"; owner = "lass"; group = "syncthing"; }
|
{ folder = "/home/lass/tmp/the_playlist"; owner = "lass"; group = "syncthing"; }
|
||||||
{ folder = "/home/lass/.weechat"; owner = "lass"; group = "syncthing"; }
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
8
lass/2configs/sync/decsync.nix
Normal file
8
lass/2configs/sync/decsync.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
krebs.syncthing.folders = [
|
||||||
|
{ id = "decsync"; path = "/home/lass/decsync"; peers = [ "mors" "blue" "green" "phone" ]; }
|
||||||
|
];
|
||||||
|
lass.ensure-permissions = [
|
||||||
|
{ folder = "/home/lass/decsync"; owner = "lass"; group = "syncthing"; }
|
||||||
|
];
|
||||||
|
}
|
8
lass/2configs/sync/weechat.nix
Normal file
8
lass/2configs/sync/weechat.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
krebs.syncthing.folders = [
|
||||||
|
{ path = "/home/lass/.weechat"; peers = [ "blue" "green" "mors" ]; }
|
||||||
|
];
|
||||||
|
lass.ensure-permissions = [
|
||||||
|
{ folder = "/home/lass/.weechat"; owner = "lass"; group = "syncthing"; }
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user