Das ist hier alles noch Quatsch - einfach ignorieren..
nix-shell -p git
wifi
sudo nixos-rebuild switch --upgrade
nano /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix profile install nixpkgs#syncthing
tipp: git init
nix-shell -p git
[me@nixos:~]$ systemctl --user enable syncthing.service
Created symlink '/home/me/.config/systemd/user/default.target.wants/syncthing.service' → '/home/me/.nix-profile/share/systemd/user/syncthing.service'.
[me@nixos:~]$ systemctl --user start syncthing.service
[me@nixos:~]$ systemctl --user status syncthing.service
● syncthing.service - Syncthing - Open Source Continuous File Synchronization
Loaded: loaded (/home/me/.nix-profile/share/systemd/user/syncthing.service; enabled; preset: ignored)
Active: active (running) since Wed 2025-04-09 12:23:58 CEST; 5s ago
Invocation: 78e2904cf7da451680ac7defd3bcf51b
Docs: man:syncthing(1)
Main PID: 32134 (syncthing)
Tasks: 21 (limit: 38135)
Memory: 24.9M (peak: 25.5M)
CPU: 588ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/syncthing.service
├─32134 /nix/store/pia7hvxmpnszf59b5l1gfmzmyclpvazm-syncthing-1.29.3/bin/syncthing serve --no-browser --no-restart --logflags=0
└─32144 /nix/store/pia7hvxmpnszf59b5l1gfmzmyclpvazm-syncthing-1.29.3/bin/syncthing serve --no-browser --no-restart --logflags=0
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: Using discovery mechanism: IPv6 local multicast discovery on address [ff12::8384]:21027
Apr 09 12:23:58 nixos syncthing[32134]: 2025/04/09 12:23:58 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: TCP listener ([::]:22000) starting
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: QUIC listener ([::]:22000) starting
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: GUI and API listening on 127.0.0.1:8384
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: Access the GUI via the following URL: http://127.0.0.1:8384/
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: My name is "nixos"
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: Ready to synchronize "Default Folder" (default) (sendreceive)
Apr 09 12:23:58 nixos syncthing[32134]: [S42FQ] INFO: Completed initial scan of sendreceive folder "Default Folder" (default)
http://localhost:8384/
Settings
- remove default folder
- optional set password
- optional passphrase kopieren
- default folder
- copy device ID
Connect Devices