summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/kusanagi.nix6
-rw-r--r--nixpkgs/common.nix2
-rw-r--r--nixpkgs/kusanagi.nix5
-rw-r--r--nixpkgs/lindy.nix1
4 files changed, 13 insertions, 1 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index d92a171..b2d7961 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -112,6 +112,12 @@ in
nix.gc.automatic = false;
+ # ---- printing ----
+ services.printing.enable = true;
+ services.avahi.enable = true;
+ services.avahi.nssmdns = true;
+ services.avahi.openFirewall = true;
+
# ----
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
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;
}