summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-08-26 11:26:31 +0200
committerAlex Auvolat <alex@adnab.me>2023-08-26 11:26:31 +0200
commitd48512ea150b0f55520cd59e169ebd57ba19cc38 (patch)
tree63d985f2e2948630945818059bc822517cb89511 /nixpkgs
parent16b7e19f43f7153c6f6fd20bb69b431b40f2e9b5 (diff)
downloaduser-config-d48512ea150b0f55520cd59e169ebd57ba19cc38.tar.gz
user-config-d48512ea150b0f55520cd59e169ebd57ba19cc38.zip
add syncthing to kusanagi
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/common.nix2
-rw-r--r--nixpkgs/kusanagi.nix5
-rw-r--r--nixpkgs/lindy.nix1
3 files changed, 7 insertions, 1 deletions
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;
}