diff options
author | Alex Auvolat <alex@adnab.me> | 2023-08-26 11:26:31 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-08-26 11:26:31 +0200 |
commit | d48512ea150b0f55520cd59e169ebd57ba19cc38 (patch) | |
tree | 63d985f2e2948630945818059bc822517cb89511 | |
parent | 16b7e19f43f7153c6f6fd20bb69b431b40f2e9b5 (diff) | |
download | user-config-d48512ea150b0f55520cd59e169ebd57ba19cc38.tar.gz user-config-d48512ea150b0f55520cd59e169ebd57ba19cc38.zip |
add syncthing to kusanagi
-rw-r--r-- | nixos/kusanagi.nix | 6 | ||||
-rw-r--r-- | nixpkgs/common.nix | 2 | ||||
-rw-r--r-- | nixpkgs/kusanagi.nix | 5 | ||||
-rw-r--r-- | nixpkgs/lindy.nix | 1 |
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; } |