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

View file

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