From bc1a0aa0faa87297bf5a1e7e1cf4e303f28bd1ae Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 15 Jul 2019 18:27:17 +0200 Subject: l blue.r: fix source.nix --- lass/1systems/blue/source.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lass') diff --git a/lass/1systems/blue/source.nix b/lass/1systems/blue/source.nix index 21f3a8bd5..1a98fc058 100644 --- a/lass/1systems/blue/source.nix +++ b/lass/1systems/blue/source.nix @@ -1,6 +1,6 @@ -{ lib, pkgs, ... }: +{ lib, pkgs, test, ... }: { - nixpkgs = lib.mkForce { + nixpkgs = lib.mkIf (! test) (lib.mkForce { file = { path = toString (pkgs.fetchFromGitHub { owner = "nixos"; @@ -10,5 +10,5 @@ }); useChecksum = true; }; - }; + }); } -- cgit v1.2.3 From 43b2333e50722e3be30c4337a732ac09528b1aba Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 15 Jul 2019 18:48:53 +0200 Subject: l xerxes.r: add the_playlist sync --- lass/1systems/xerxes/config.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lass') diff --git a/lass/1systems/xerxes/config.nix b/lass/1systems/xerxes/config.nix index b393f203d..c120c17d7 100644 --- a/lass/1systems/xerxes/config.nix +++ b/lass/1systems/xerxes/config.nix @@ -32,4 +32,19 @@ ]; lass.screenlock.enable = lib.mkForce false; + krebs.syncthing = { + folders = { + the_playlist = { + path = "/home/lass/tmp/the_playlist"; + peers = [ "mors" "phone" "prism" "xerxes" ]; + }; + }; + }; + krebs.permown = { + "/home/lass/tmp/the_playlist" = { + owner = "lass"; + group = "syncthing"; + umask = "0007"; + }; + }; } -- cgit v1.2.3