From ea25cdd07e40d4fad9aa027eed4edae70011af1d Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:11:21 +0200 Subject: [PATCH] add laptop to syncthing --- flake.nix | 1 + modules/services/syncthing.nix | 4 ++++ systems/laptop/main.nix | 17 ----------------- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/flake.nix b/flake.nix index 608d4df..07f1914 100644 --- a/flake.nix +++ b/flake.nix @@ -93,6 +93,7 @@ ./modules/graphical/hyprland.nix ./modules/graphical/ime.nix ./modules/graphical/shared.nix + ./modules/services/syncthing.nix ./modules/fh/scanning.nix ./modules/nix/ld.nix ./modules/nix/settings.nix diff --git a/modules/services/syncthing.nix b/modules/services/syncthing.nix index 9582b93..ecf0ec3 100644 --- a/modules/services/syncthing.nix +++ b/modules/services/syncthing.nix @@ -34,6 +34,10 @@ in id = "HZUUQEQ-JOKYHTU-AVFVC3U-7KUAXVC-QY3OJTF-HGU7RZ3-5HA5TOE-VT4FNQB"; adresses = [ "tcp://192.168.0.6:51820" "tcp//192.168.2.1:51820" ]; }; + laptop = { + id = "5T6Y3WO-FOQYYFQ-5MLNDSZ-7APIDUG-6KM2ZZM-RTRXMWX-MCZKLMH-BYNDJAQ"; + adresses = [ "tcp://192.168.2.22:51820" ]; + }; }; folders."${basePath}/default" = { diff --git a/systems/laptop/main.nix b/systems/laptop/main.nix index d4dca1c..c9b3ce2 100644 --- a/systems/laptop/main.nix +++ b/systems/laptop/main.nix @@ -51,23 +51,6 @@ # Enable CUPS to print documents. services.printing.enable = true; - # Enable sound with pipewire. - sound.enable = true; - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true;