From a552d304a3682eec05ebf3229e8f79e75ee697a0 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Sep 2018 00:39:39 +0200 Subject: ma x: syncthing runs as default user --- makefu/1systems/x/config.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'makefu/1systems/x/config.nix') diff --git a/makefu/1systems/x/config.nix b/makefu/1systems/x/config.nix index 54a16a93..c11454eb 100644 --- a/makefu/1systems/x/config.nix +++ b/makefu/1systems/x/config.nix @@ -43,6 +43,7 @@ with import ; + # # Virtualization @@ -149,4 +150,6 @@ with import ; "/home/makefu/backup/borgun" "/home/makefu/.mail/" ]; + services.syncthing.user = lib.mkForce "makefu"; + services.syncthing.dataDir = lib.mkForce "/home/makefu/.config/syncthing/"; } -- cgit v1.2.3 From 9af31259b8ffe879a471520248e15b4537db94b9 Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Sep 2018 00:45:48 +0200 Subject: ma x: do not import stockholm libs if not required --- makefu/1systems/x/config.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'makefu/1systems/x/config.nix') diff --git a/makefu/1systems/x/config.nix b/makefu/1systems/x/config.nix index c11454eb..97d11fbd 100644 --- a/makefu/1systems/x/config.nix +++ b/makefu/1systems/x/config.nix @@ -1,9 +1,7 @@ # # # -{ config, pkgs, ... }: -with import ; - +{ config, pkgs, lib, ... }: { imports = [ # base -- cgit v1.2.3