moved syncthing to home-manager

This commit is contained in:
Aly Raffauf 2024-03-01 09:17:18 -05:00
parent e5acc444c6
commit c554e3cca9
2 changed files with 11 additions and 8 deletions

View file

@ -5,6 +5,8 @@
home.username = "aly"; home.username = "aly";
home.homeDirectory = "/home/aly"; home.homeDirectory = "/home/aly";
services.syncthing.enable = true;
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = with pkgs; [ home.packages = with pkgs; [
vscode vscode
@ -15,6 +17,7 @@
git git
nnn # terminal file manager nnn # terminal file manager
wget wget
syncthing
]; ];
# basic configuration of git, please change to your own # basic configuration of git, please change to your own

View file

@ -38,13 +38,13 @@
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
# Set up syncthing to run as aly. # Set up syncthing to run as aly.
services = { # services = {
syncthing = { # syncthing = {
enable = true; # enable = true;
user = "aly"; # user = "aly";
dataDir = "/home/aly"; # Default folder for new synced folders # dataDir = "/home/aly"; # Default folder for new synced folders
configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys # configDir = "/home/aly/.config/syncthing"; # Folder for Syncthing's settings and keys
}; # };
}; # };
} }