From d48512ea150b0f55520cd59e169ebd57ba19cc38 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 26 Aug 2023 11:26:31 +0200 Subject: add syncthing to kusanagi --- nixpkgs/common.nix | 2 ++ nixpkgs/kusanagi.nix | 5 +++++ nixpkgs/lindy.nix | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'nixpkgs') diff --git a/nixpkgs/common.nix b/nixpkgs/common.nix index 7450d40..305132a 100644 --- a/nixpkgs/common.nix +++ b/nixpkgs/common.nix @@ -65,6 +65,8 @@ ''; }; + services.syncthing.enable = true; + xsession.enable = true; home.keyboard = null; diff --git a/nixpkgs/kusanagi.nix b/nixpkgs/kusanagi.nix index 72d67e9..8021273 100644 --- a/nixpkgs/kusanagi.nix +++ b/nixpkgs/kusanagi.nix @@ -16,6 +16,9 @@ in { ln -sf /Z/lx/.gnupg/private-keys-v1.d ~/.gnupg/ ln -sf /Z/lx/Downloads ~/Downloads ln -sf /Z/lx/.cargo ~/.cargo + + ln -sf /Z/lx/app/arduino/Arduino ~/Arduino + ln -sf /Z/lx/app/arduino/.arduino15 ~/.arduino15 ''; nixpkgs.config.packageOverrides = pkgs: { @@ -61,5 +64,7 @@ in { services.gpg-agent.enableSshSupport = false; services.gpg-agent.pinentryFlavor = "qt"; services.gpg-agent.extraConfig = "no-allow-external-cache"; + + services.syncthing.extraOptions = [ "--home=/Z/lx/app/syncthing" ]; } diff --git a/nixpkgs/lindy.nix b/nixpkgs/lindy.nix index dc24dae..c1baee5 100644 --- a/nixpkgs/lindy.nix +++ b/nixpkgs/lindy.nix @@ -9,6 +9,5 @@ enableBashIntegration = true; keys = [ "~/.ssh/id_ed25519" ]; }; - services.syncthing.enable = true; } -- cgit v1.2.3