mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:13:55 -05:00
moved syncthing to home-manager
This commit is contained in:
parent
e5acc444c6
commit
c554e3cca9
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue